Skip to content

Conversation

phooijenga
Copy link

Store the decoded JWT claims in the access request when performing an RFC 7523 request, so they can be inspected after validation.

Related Issue or Design Document

ory/hydra#3949

Checklist

  • I have read the contributing guidelines and signed the CLA.
  • I have referenced an issue containing the design document if my change introduces a new feature.
  • I have read the security policy.
  • I confirm that this pull request does not address a security vulnerability.
    If this pull request addresses a security vulnerability,
    I confirm that I got approval (please contact security@ory.sh) from the maintainers to push the changes.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added the necessary documentation within the code base (if appropriate).

Further comments

Store the decoded JWT claims in the access request when performing an
RFC 7523 request, so they can be inspected after validation.
@phooijenga phooijenga force-pushed the token-hook-include-jwt-claims branch from ea87e12 to ea556c2 Compare February 26, 2025 07:50
@mitar
Copy link
Contributor

mitar commented Jul 1, 2025

Please rebase from latest master branch to fix CI issues.

@mitar
Copy link
Contributor

mitar commented Jul 1, 2025

I am not completely sure you need this? I do ar.GetSession().(*OIDCSession).JWTClaims in my code (JWTClaims is where I store claims inside my OIDCSession implementation).

Example here and example here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants