Skip to content

Commit

Permalink
feat: adding email key to idToken (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
aversini authored Sep 1, 2024
1 parent bd5589c commit f8f0ee1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/auth-common/src/components/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ export const JWT = {
ALG: "RS256",

USER_ID_KEY: "sub",
USERNAME_KEY: "username",
EMAIL_KEY: "email",

TOKEN_ID_KEY: "__raw",
NONCE_KEY: "_nonce",
USERNAME_KEY: "username",
AUTH_TYPE_KEY: "auth_type",
EXPIRES_AT_KEY: "exp",
CREATED_AT_KEY: "iat",
Expand Down

0 comments on commit f8f0ee1

Please sign in to comment.