Skip to content

Commit 31eebbb

Browse files
committed
Fix samples with special meta data URLs
1 parent 5d0851e commit 31eebbb

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

projects/sample-code-flow-azure-b2c/src/app/auth-config.module.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import { AuthModule, LogLevel } from 'angular-auth-oidc-client';
1717
responseType: 'code',
1818
silentRenew: true,
1919
useRefreshToken: true,
20+
strictIssuerValidationOnWellKnownRetrievalOff: true,
2021
ignoreNonceAfterRefresh: true,
2122
maxIdTokenIatOffsetAllowedInSeconds: 600,
2223
issValidationOff: false, // this needs to be true if using a common endpoint in Azure

projects/sample-code-flow-azuread/src/app/app.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const appConfig: ApplicationConfig = {
3535
maxIdTokenIatOffsetAllowedInSeconds: 600,
3636
issValidationOff: true,
3737
autoUserInfo: false,
38+
strictIssuerValidationOnWellKnownRetrievalOff: true,
3839
// silentRenewUrl: window.location.origin + '/silent-renew.html',
3940
useRefreshToken: true,
4041
logLevel: LogLevel.Debug,

projects/sample-code-flow-multi-AAD/src/app/auth-config.module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { AuthModule, LogLevel } from 'angular-auth-oidc-client';
1818
silentRenew: true,
1919
maxIdTokenIatOffsetAllowedInSeconds: 600,
2020
issValidationOff: false,
21+
strictIssuerValidationOnWellKnownRetrievalOff: true,
2122
autoUserInfo: false,
2223
useRefreshToken: true,
2324
ignoreNonceAfterRefresh: true,
@@ -36,6 +37,7 @@ import { AuthModule, LogLevel } from 'angular-auth-oidc-client';
3637
silentRenew: true,
3738
useRefreshToken: true,
3839
ignoreNonceAfterRefresh: true,
40+
strictIssuerValidationOnWellKnownRetrievalOff: true,
3941
maxIdTokenIatOffsetAllowedInSeconds: 600,
4042
issValidationOff: false, // this needs to be true if using a common endpoint in Azure
4143
autoUserInfo: false,

projects/sample-code-flow-multi-Azure-B2C/src/app/auth-config.module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { AuthModule, LogLevel } from 'angular-auth-oidc-client';
1818
responseType: 'code',
1919
silentRenew: true,
2020
useRefreshToken: true,
21+
strictIssuerValidationOnWellKnownRetrievalOff: true,
2122
ignoreNonceAfterRefresh: true,
2223
maxIdTokenIatOffsetAllowedInSeconds: 600,
2324
issValidationOff: false, // this needs to be true if using a common endpoint in Azure
@@ -37,6 +38,7 @@ import { AuthModule, LogLevel } from 'angular-auth-oidc-client';
3738
responseType: 'code',
3839
silentRenew: true,
3940
useRefreshToken: true,
41+
strictIssuerValidationOnWellKnownRetrievalOff: true,
4042
ignoreNonceAfterRefresh: true,
4143
maxIdTokenIatOffsetAllowedInSeconds: 600,
4244
issValidationOff: false, // this needs to be true if using a common endpoint in Azure

0 commit comments

Comments
 (0)