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(jwt): add email claim to session JWT #1404

Merged
merged 2 commits into from
Mar 25, 2024

Conversation

shentschel
Copy link
Contributor

Description

This PR adds an email claim to the session JWT when the user has a primary email address. The claim contains the following fields:

  • primary email address of the user
  • Flag if the email address is a primary address
  • Flag if the email address is verified

This PR also cleans up some unused stuff and refactors some error messages.

Closes: #1388

* add email claim which contains email address, is_verified and is_primary values
* cleanup some unused stuff

Closes: #1388
@FreddyDevelop FreddyDevelop merged commit 8ab246d into main Mar 25, 2024
12 checks passed
@FreddyDevelop FreddyDevelop deleted the feat/1388-add-userdata-to-jwt branch March 25, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add user data to JWT
2 participants