Skip to content

Commit 56bb004

Browse files
committed
fix(passport): no window opener
1 parent c0abbd6 commit 56bb004

4 files changed

Lines changed: 28 additions & 17 deletions

File tree

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@
4545
"*.{js,jsx,ts,tsx}": "eslint"
4646
},
4747
"packageManager": "pnpm@9.12.0",
48+
"pnpm": {
49+
"overrides": {
50+
"oidc-client-ts": "v3.3.0-rc.0"
51+
}
52+
},
4853
"private": true,
4954
"repository": "immutable/ts-immutable-sdk.git",
5055
"resolutions": {

packages/passport/sdk/src/authManager.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ describe('AuthManager', () => {
135135
authority: config.authenticationDomain,
136136
client_id: config.oidcConfiguration.clientId,
137137
extraQueryParams: {},
138-
mergeClaims: true,
138+
mergeClaimsStrategy: { array: 'merge' },
139139
automaticSilentRenew: false,
140140
metadata: {
141141
authorization_endpoint: `${config.authenticationDomain}/authorize`,

packages/passport/sdk/src/authManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const getAuthConfiguration = (config: PassportConfiguration): UserManagerSetting
7373
end_session_endpoint: endSessionEndpoint.toString(),
7474
revocation_endpoint: `${authenticationDomain}/oauth/revoke`,
7575
},
76-
mergeClaims: true,
76+
mergeClaimsStrategy: { array: 'merge' },
7777
automaticSilentRenew: false, // Disabled until https://github.com/authts/oidc-client-ts/issues/430 has been resolved
7878
scope: oidcConfiguration.scope,
7979
userStore,

pnpm-lock.yaml

Lines changed: 21 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)