🛂 Removes /auth from KC path (#564)
This commit is contained in:
@@ -14,7 +14,7 @@ class KeycloakAuth {
|
|||||||
const { auth } = getAppConfig();
|
const { auth } = getAppConfig();
|
||||||
const { serverUrl, realm, clientId } = auth.keycloak;
|
const { serverUrl, realm, clientId } = auth.keycloak;
|
||||||
const initOptions = {
|
const initOptions = {
|
||||||
url: `${serverUrl}/auth`, realm, clientId, onLoad: 'login-required',
|
url: `${serverUrl}`, realm, clientId, onLoad: 'login-required',
|
||||||
};
|
};
|
||||||
|
|
||||||
this.keycloakClient = Keycloak(initOptions);
|
this.keycloakClient = Keycloak(initOptions);
|
||||||
|
|||||||
Reference in New Issue
Block a user