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 #1401

Merged
merged 4 commits into from
Oct 14, 2024
Merged

feat: support custom jwt assertion claim #1401

merged 4 commits into from
Oct 14, 2024

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 csmig added the API label Oct 9, 2024
Copy link

@cd-rite cd-rite merged commit 99f54b2 into main Oct 14, 2024
10 checks passed
@cd-rite cd-rite deleted the jwt-assertion-claim branch October 14, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Last Claims field does not update when using ADFS IdP
2 participants