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
{{ message }}
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.
When token is expired, there is no way to re-new it. A request to /oauth/access_token returns the same access token.
An easy way to reproduce the bug:
Rack::OAuth2::Server.token_for(user.id.to_s, client.id.to_s, client.scope, 1.second)
# Wait for 1 second :-)
Rack::OAuth2::Server.token_for(user.id.to_s, client.id.to_s, client.scope)
expected: Either another token or the same token but with updated #expires_at property actual: The same token with the same properties. An attempt to use this token responds with "The access token has expired."
The text was updated successfully, but these errors were encountered:
When token is expired, there is no way to re-new it. A request to /oauth/access_token returns the same access token.
An easy way to reproduce the bug:
expected: Either another token or the same token but with updated
#expires_at
propertyactual: The same token with the same properties. An attempt to use this token responds with "The access token has expired."
The text was updated successfully, but these errors were encountered: