Skip to content

Commit

Permalink
Try to fix nonce issues. (#134)
Browse files Browse the repository at this point in the history
Temporary inclusion.  Ready to back most of this out when things don't work.
  • Loading branch information
TreyE authored Jul 30, 2024
1 parent 8d76093 commit 4e5191e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/console/auth/src/lib/keycloak/keycloak-config.service.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 4e5191e

Please sign in to comment.