We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16ded9d commit 0ae9150Copy full SHA for 0ae9150
frontend/src/Auth.js
@@ -48,11 +48,11 @@ class Auth {
48
})
49
}
50
51
- setSession(authResult, step) {
+ setSession(authResult) {
52
this.idToken = authResult.idToken;
53
this.profile = authResult.idTokenPayload;
54
// set the time that the id token will expire at
55
- this.expiresAt = authResult.expiresIn * 1000 + new Date().getTime();
+ this.expiresAt = authResult.idTokenPayload.exp * 1000;
56
57
58
signOut() {
0 commit comments