teamhanko / hanko

Authentication and user management for the passkey era.
https://hanko.io
Other
5.67k stars 794 forks source link

feat(jwt): add email claim to session JWT #1404

Closed shentschel closed 5 months ago

shentschel commented 5 months ago

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:

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

Closes: #1388