Revert "use authServerUrl when defined (#29746)"
This reverts commit 3abb09bf59
.
This commit is contained in:
parent
f21bbaf2a1
commit
94af8f2ca2
1 changed files with 1 additions and 4 deletions
|
@ -49,10 +49,7 @@ export const KeycloakProvider = <T extends BaseEnvironment>({
|
|||
const [error, setError] = useState<unknown>();
|
||||
const keycloak = useMemo(() => {
|
||||
const keycloak = new Keycloak({
|
||||
url:
|
||||
"authServerUrl" in environment
|
||||
? (environment.authServerUrl as string)
|
||||
: environment.authUrl,
|
||||
url: environment.authUrl,
|
||||
realm: environment.realm,
|
||||
clientId: environment.clientId,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue