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

Return identities.Claims from ClaimsFrom #21

Merged
merged 1 commit into from
Jun 28, 2022

Conversation

jeffreylo
Copy link
Contributor

@jeffreylo jeffreylo commented Jun 14, 2022

#18 introduced support for
ClaimsFrom, returning the default verified claims in the identity
token. That PR, however, failed to consider that the identity token
augments the default claims with an AuthTime (auth_time) which
supports password confirmation actions, e.g.,
https://keratin.github.io/authn-server/#/guide-confirm-password.

Closes #20.

keratin#18 introduced support for
ClaimsFrom, returning the default verified claims in the identity
token. That PR, however, failed to consider that the identity token
augments the default claims with an AuthTime (`auth_time`) which
supports password confirmation actions, e.g.,
https://keratin.github.io/authn-server/#/guide-confirm-password.
@jeffreylo
Copy link
Contributor Author

Any blockers to merging this, @cainlevy? Would be nice to get this in a new release within the next couple weeks. Thank you.

@cainlevy cainlevy merged commit 2ce5849 into keratin:master Jun 28, 2022
@cainlevy
Copy link
Member

Thanks for the reminder! I simply got mixed up with my work habits.

@jeffreylo jeffreylo deleted the jlo/identity-claims branch June 28, 2022 17:35
AlexCuse added a commit to AlexCuse/authn-go that referenced this pull request Dec 13, 2022
Through use of identities.Claims from github.com/keratin/authn-server, PR keratin#21 forces users of the client to build with CGO enabled.  This embeds the new type (which really just wraps the Claims type from gopkg.in/square/go-jose.v2) directly in the client to eliminate this requirement.
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.

auth_time claim inaccessible from ClaimsFrom
2 participants