Skip to content

Commit 1183d94

Browse files
authored
use email in the id token data, not mail
https://auth0.com/docs/api/authentication#get-user-info
1 parent e67b1a9 commit 1183d94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/auth0/src/handlers/auth0-handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export const createAuth0Handlers = (options: Options): Record<Routes, HttpHandle
181181
iss: url,
182182
exp: expiresAt(),
183183
iat: Date.now(),
184-
mail: username,
184+
email: username,
185185
aud: clientId,
186186
sub: user.id,
187187
nonce,

0 commit comments

Comments
 (0)