Revert "use authServerUrl when defined (#29746)"

This reverts commit 3abb09bf59.
This commit is contained in:
Jon Koops 2024-05-28 15:06:06 +02:00 committed by Hynek Mlnařík
parent f21bbaf2a1
commit 94af8f2ca2

View file

@ -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,
});