Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Access & Refresh Token Lifecycle in Keycloak: Storage, Invalidation, and Security

52 views
Skip to first unread message

Pooja Kose

unread,
Apr 10, 2025, 2:15:08 AMApr 10
to Keycloak User
Hi Team,

Could you explain how Keycloak generates and manages access tokens and refresh tokens during the login and logout process?

Specifically, I’d like to understand how these tokens are created, where and how they are stored internally in Keycloak’s database, and how they are invalidated or removed during user logout. Also, what are the best practices for securely storing and handling these tokens on both the server and client side?

Thanks,
Pooja
Reply all
Reply to author
Forward
0 new messages