Open tahiraslammm opened 3 weeks ago
const expiresAccessToken = new Date(); expiresAccessToken.setMilliseconds( expiresAccessToken.getTime() + parseInt( this.configService.getOrThrow<string>( 'JWT_ACCESS_TOKEN_EXPIRATION_MS', ), ), );
This is not returning the expiration time of an hour as expected when setting JWT_ACCESS_TOKEN_EXPIRATION_MS = 3600000
Change setMilliseconds() to setTime()
This is not returning the expiration time of an hour as expected when setting JWT_ACCESS_TOKEN_EXPIRATION_MS = 3600000