Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:passport_control: Removes `/auth` from KC path (#564)

Alicia Sykesfd2b3d831c77
diff --git a/src/utils/KeycloakAuth.js b/src/utils/KeycloakAuth.js
index 47d62329..3fcb7f5f 100644
--- a/src/utils/KeycloakAuth.js
+++ b/src/utils/KeycloakAuth.js
@@ -14,7 +14,7 @@ class KeycloakAuth {
const { auth } = getAppConfig();
const { serverUrl, realm, clientId } = auth.keycloak;
const initOptions = {
- url: `${serverUrl}/auth`, realm, clientId, onLoad: 'login-required',
+ url: `${serverUrl}`, realm, clientId, onLoad: 'login-required',
};
this.keycloakClient = Keycloak(initOptions);