Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise OAuth session and token identifier claims sid, psid, jti etc. #430

Open
byewokko opened this issue Nov 27, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@byewokko
Copy link
Collaborator

Some custom Seacat claims clash with officially registered claims (https://www.iana.org/assignments/jwt/jwt.xhtml).

Current state in Seacat Auth

  • psid claim contains "root" session ID
  • sid claim contains "client" Session ID
  • jti claim is not used

Proposal

  • sid is registered as "Session ID" for the purpose of SSO login and logout. In Seacat Auth this should correspond to the "root" session ID.
  • jti is registered as "JWToken ID" for the purpose of revoking the token, checking its uniqueness etc. This would have to be implemented.
  • Introduce custom claim csid (Client Session ID) to refer to the seacat client session id.
@byewokko byewokko added the enhancement New feature or request label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant