Skip to content

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

@byewokko

Description

@byewokko

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions