Re:OAuth 2.0 Authentication Vulnerabilities
by laurent92 on Sunday March 28, 2021 @04:35AM
(#26608830)
But then you need to implement token revocation, by the host, the user or the client, and find a cryptographically-secure way to generate the key.
[ Parent
| on HN ]
Re:OAuth 2.0 Authentication Vulnerabilities
by wolf550e on Sunday March 28, 2021 @05:13AM
(#26608951)
To revoke the token, the server deletes it from the database.
If you have the token, you can ask the server to delete it from the database. The cryptographically secure way to generate it is to read 32 bytes from getrandom(2) or from /dev/urandom.