Add refresh-tokens module: JWT refresh token rotation, token families and reuse detection on Spring Security 7.1
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6XzpJxZ25cDyuw1Uk
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
token-ttl = 7d, family-max-age = 30d, access-ttl = 5m
|
||||
5m01s after login, access token on /api/me: HTTP 401
|
||||
8 days idle, refresh: HTTP 401 (token-ttl passed)
|
||||
day 6: refresh OK (every token is only 6 days old)
|
||||
day 12: refresh OK (every token is only 6 days old)
|
||||
day 18: refresh OK (every token is only 6 days old)
|
||||
day 24: refresh OK (every token is only 6 days old)
|
||||
day 30: refresh HTTP 401, the token is 6 days old but the family is 30 days old
|
||||
family rows: 5, all in the same family 721853e3
|
||||
Reference in New Issue
Block a user