Skip to content

Commit

Permalink
fix: ID-1453 Disabled Passport automatic token refreshing
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenfowler authored Mar 5, 2024
1 parent 2019465 commit 20b7d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/passport/sdk/src/authManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ describe('AuthManager', () => {
authority: config.authenticationDomain,
client_id: config.oidcConfiguration.clientId,
mergeClaims: true,
automaticSilentRenew: false,
metadata: {
authorization_endpoint: `${config.authenticationDomain}/authorize`,
token_endpoint: `${config.authenticationDomain}/oauth/token`,
Expand Down
1 change: 1 addition & 0 deletions packages/passport/sdk/src/authManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const getAuthConfiguration = (config: PassportConfiguration): UserManagerSetting
end_session_endpoint: endSessionEndpoint,
},
mergeClaims: true,
automaticSilentRenew: false, // Disabled until https://github.com/authts/oidc-client-ts/issues/430 has been resolved
scope: oidcConfiguration.scope,
userStore,
};
Expand Down

0 comments on commit 20b7d78

Please sign in to comment.