cool-tailor-60162
07/01/2025, 7:00 AMcool-tailor-60162
07/01/2025, 9:38 AMmagnificent-energy-493
cool-tailor-60162
07/02/2025, 11:49 AMcool-tailor-60162
07/02/2025, 11:49 AMmagnificent-energy-493
hydra_oauth2_access
table), not the full token or its key. The token format is <key>.<signature>
, and only the signature is stored. This is a security feature: even if the database is compromised, an attacker cannot reconstruct valid tokens without the system secret [OAuth 2.0 security overview].
Implications for you @cool-tailor-60162 :
• If you receive an expired token, you cannot use the introspection API to get the client_id
or sub
(subject), as introspection will return active: false
and not provide further details for expired tokens.
• You also cannot search the database for the full token, because only the signature is stored, and you cannot derive the signature from the token without the system secret.cool-tailor-60162
07/03/2025, 12:54 PM