-
-
Notifications
You must be signed in to change notification settings - Fork 927
Closed
Description
expires.setSeconds(expires.getSeconds() + this.accessTokenLifetime); |
Date.setSeconds only set the seconds part of the date.
The correct code should be new Date(Date.now() + this.accessTokenLifetime * 1000)
Similar issue exists for getRefreshTokenExpiresAt