Skip to content

Commit

Permalink
Store id token along with access token (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
khorshuheng authored Feb 26, 2021
1 parent 7d46703 commit 31340cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gojek/mlp-ui",
"version": "1.1.0",
"version": "1.2.0",
"private": true,
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions ui/packages/lib/src/auth/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const AuthProvider = ({ clientId, children }) => {
isAuthenticated: true,
profileObj: profileObj,
accessToken: accessToken,
idToken: tokenObj.id_token,
expiresAt: tokenObj.expires_at
});
};
Expand Down

0 comments on commit 31340cd

Please sign in to comment.