Skip to content

Commit

Permalink
fix(oidc): userInfo 401 on first login (release)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Mar 22, 2024
1 parent c7793c9 commit 44d15be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/oidc-client/src/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const loginCallbackAsync = (oidc:Oidc) => async (isSilentSignin = false)
}

if (serviceWorker) {
await serviceWorker.initAsync(redirectUri, 'syncTokensAsync', configuration);
await serviceWorker.initAsync(oidcServerConfiguration, 'syncTokensAsync', configuration);
loginParams = serviceWorker.getLoginParams();
if(demonstratingProofOfPossessionNonce) {
await serviceWorker.setDemonstratingProofOfPossessionNonce(demonstratingProofOfPossessionNonce);
Expand Down

0 comments on commit 44d15be

Please sign in to comment.