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

mmd notifications at github.com
Tue Jan 23 21:01:58 UTC 2024


> timestamp where it was issued 

Token creation timestamps would at least be available in database table oauth_access_tokens as field "created_at". To display these timestamps, some additional filtering might be needed, like excluding revoked (+ possibly expired tokens, if this happens to be supported at one point).

> timestamp when that authentication token was last used 

That's not possible. Validating tokens is a read only database operation, i.e. a last used timestamp is not stored anywhere.



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

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


More information about the rails-dev mailing list