teamhanko / hanko

Authentication and user management for the passkey era.

Home Page:https://hanko.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add user data to JWT

FlxMgdnz opened this issue · comments

Add basic user data like primary email or email verified to the JWT.

When the user changes their primary email, we can issue a fresh token that contains the updated email, so that any implementation that relies on the token data gets the correct information from it.

Solves #1013