mirror of https://github.com/Lissy93/dashy.git
🛂 Removes `/auth` from KC path (#564)
This commit is contained in:
parent
1f3ed135de
commit
fd2b3d831c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue