Skip to content
Snippets Groups Projects
Commit 5c51bd01 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Remove some unused debugging code

idpHint is only a login option, not an init one
parent d946ea14
No related branches found
No related tags found
No related merge requests found
Pipeline #14030 passed
...@@ -121,7 +121,6 @@ export class KeycloakWrapper extends EventTarget { ...@@ -121,7 +121,6 @@ export class KeycloakWrapper extends EventTarget {
async _keycloakInit(options) { async _keycloakInit(options) {
// https://gitlab.tugraz.at/dbp/apps/library/issues/41 // https://gitlab.tugraz.at/dbp/apps/library/issues/41
// retry the keycloak init in case it fails, maybe it helps :/ // retry the keycloak init in case it fails, maybe it helps :/
options['idpHint'] = 'eid-oidc';
try { try {
return await this._keycloak.init(options); return await this._keycloak.init(options);
} catch (e) { } catch (e) {
...@@ -186,7 +185,6 @@ export class KeycloakWrapper extends EventTarget { ...@@ -186,7 +185,6 @@ export class KeycloakWrapper extends EventTarget {
scope: scope, scope: scope,
idpHint: this._idpHint, idpHint: this._idpHint,
}); });
//options['idpHint'] = 'eid-oidc';
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment