[openstreetmap/openstreetmap-website] Display authenticatoin-related timestamps on Oauth2 tab (Issue #4494)

mmd notifications at github.com
Fri Jan 26 22:45:45 UTC 2024


>  I assume that when I revoke an Oauth2 app, it would disappear (from the list and from the existence) along with its token, and if I decide to grant access to that app again in the future, then it would generate new (different) token, and it would have a new timestamp too

Yes, it would disappear from the list. However, the old token is still stored on the database with a revoked_at timestamp set. This way, the API could tell you that the token has been revoked.

Next time you request a token, you get a new (different) one  with a new created_at timestamp.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4494#issuecomment-1912793377
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/4494/1912793377 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240126/cf9579b3/attachment.htm>


More information about the rails-dev mailing list