diff --git a/libs/console/auth/src/lib/keycloak/keycloak-config.service.ts b/libs/console/auth/src/lib/keycloak/keycloak-config.service.ts index 748c23a0..9910c55f 100644 --- a/libs/console/auth/src/lib/keycloak/keycloak-config.service.ts +++ b/libs/console/auth/src/lib/keycloak/keycloak-config.service.ts @@ -1,4 +1,4 @@ -import { inject, Injectable, isDevMode } from '@angular/core'; +import { inject, Injectable } from '@angular/core'; import { KeycloakService, KeycloakEventType } from 'keycloak-angular'; import { TenantConfigService } from '@enroll/tenant-config'; import { KEYCLOAK_CONFIG, KeycloakConfig } from './keycloak-config'; @@ -47,7 +47,7 @@ export class KeycloakConfigService { clientId: currentConfig.clientId, }, initOptions: { - useNonce: !isDevMode(), + useNonce: false, onLoad: 'check-sso', silentCheckSsoRedirectUri: window.location.origin + '/assets/silent-check-sso.html',