From b9e5d4c06d2b934c3eaf6cc1a453aa170c5f8205 Mon Sep 17 00:00:00 2001 From: Erich Json Fosse Date: Fri, 5 Jul 2024 12:51:36 +0200 Subject: [PATCH] EDIT: Set default value to `true` --- .../docs/documentation/configuration.md | 2 +- .../angular-auth-oidc-client/src/lib/config/default-config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/site/angular-auth-oidc-client/docs/documentation/configuration.md b/docs/site/angular-auth-oidc-client/docs/documentation/configuration.md index 60f77d2a..c8fc0b15 100644 --- a/docs/site/angular-auth-oidc-client/docs/documentation/configuration.md +++ b/docs/site/angular-auth-oidc-client/docs/documentation/configuration.md @@ -263,7 +263,7 @@ This is the `redirect_url` which was configured on the Security Token Service (S Whether to check if current URL matches the redirect URI when determining if current URL is in fact the redirect URI. -Default = _false_ *NB:* Default will be `true` in v18. +Default = _true_ ### `clientId` diff --git a/projects/angular-auth-oidc-client/src/lib/config/default-config.ts b/projects/angular-auth-oidc-client/src/lib/config/default-config.ts index be5b5574..fd8900b4 100644 --- a/projects/angular-auth-oidc-client/src/lib/config/default-config.ts +++ b/projects/angular-auth-oidc-client/src/lib/config/default-config.ts @@ -6,7 +6,7 @@ export const DEFAULT_CONFIG: OpenIdConfiguration = { authWellknownEndpointUrl: '', authWellknownEndpoints: undefined, redirectUrl: 'https://please_set', - checkRedirectUrlWhenCheckingIfIsCallback: false, + checkRedirectUrlWhenCheckingIfIsCallback: true, clientId: 'please_set', responseType: 'code', scope: 'openid email profile',