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

feat: support custom jwt assertion claim #1400

Closed
wants to merge 2 commits into from

Conversation

csmig
Copy link
Member

@csmig csmig commented Oct 9, 2024

Resolves #1399

The PR adds support in the API for a user provided OAuth2 claim that fulfills the role of an Assertion ID. The default value jti can be overridden using the envvar STIGMAN_JWT_ASSERTION_CLAIM. The API updates a User's lastClaims property when presented with a JWT for the User where the Assertion ID claim's value differs from the value of that claim in lastClaims.

Includes updates and some rewording of the Documentation.

Also updates the cookie module from 0.6.0 to 0.7.1 to resolve an NPM audit failure.

@csmig
Copy link
Member Author

csmig commented Oct 9, 2024

Closing this PR and re-creating it from a branch in the NUWCDIVNPT repo instead of my personal fork.

@csmig csmig closed this Oct 9, 2024
@csmig csmig deleted the jwt-assertion-claim branch October 9, 2024 18:32
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.

Last Claims field does not update when using ADFS IdP
1 participant