Skip to content

Commit

Permalink
fix: refreshUser for refreshToken
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentC35 committed Oct 23, 2023
1 parent a4e7a52 commit 8e61be1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stromae",
"version": "2.4.12-rc.1",
"version": "2.4.12-rc.2",
"description": "Web application for the management of questionnaires powered by Lunatic",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/utils/auth/oidcClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ export const createOidcClient = async ({
},
renewToken: async () => {
const user = await userManager.signinSilent();
currentUser = user;
currentAccessToken = user.access_token;
},
};
Expand Down

0 comments on commit 8e61be1

Please sign in to comment.