You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are you trying to achieve or the steps to reproduce?
I have authorization_code grant type and trying to create an AccessToken instance from what I have stored in database. The access token stored in the database has the following properties:
This function should accept also the parameter created_at. It always get the expiration date relative to now. I think the function should be something like that:
Context
What are you trying to achieve or the steps to reproduce?
I have authorization_code grant type and trying to create an AccessToken instance from what I have stored in database. The access token stored in the database has the following properties:
When I execute the createToken method I got always a token that said is not expired, despite it is.
What was the result you got?
The result I got is the following:
What result did you expect?
I think the problem is here:
simple-oauth2/lib/access-token-parser.js
Lines 8 to 10 in bee1539
This function should accept also the parameter
created_at
. It always get the expiration date relative to now. I think the function should be something like that:The text was updated successfully, but these errors were encountered: