We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06b807b commit dfc2259Copy full SHA for dfc2259
src/utils/auth.ts
@@ -55,6 +55,7 @@ export class SlaxAuth {
55
const userName = !!req.family_name ? `${req.given_name} ${req.family_name}` : undefined
56
const givenName = req.given_name || undefined
57
const familyName = req.family_name || undefined
58
+ const email = `${res.sub}@appleid.apple.com`
59
60
return {
61
iss: res.iss,
@@ -63,7 +64,7 @@ export class SlaxAuth {
63
64
iat: res.iat,
65
exp: res.exp,
66
azp: '',
- email: res.email,
67
+ email,
68
email_verified: 'true',
69
name: userName,
70
picture: '',
0 commit comments