8000 sub(ject) in KEYCLOAK_SESSION cookie · keycloak keycloak · Discussion #23338 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

The KEYCLOAK_SESSION cookie is largely used for OpenID Connect Session Management described at https://openid.net/specs/openid-connect-session-1_0.html where your application has an iframe to talk to the Keycloak iframe to determine if the user has logged out for instance.

Not quite sure what is your threat model. If you are considering XSS, then yes that can be used to read the cookie, but I'm not sure if a privacy risk from leaking a user-id in a cookie would be my main concern. XSS would be able to read/write requests and responses from your application for instance. It is true that having the user-id in the value doesn't look quite right especially since the value isn't used.

The KEYC…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@asdfxyz135
Comment options

Answer selected by asdfxyz135
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0