fragordie
05/25/2022, 12:24 PMts
ThirdPartyPasswordless.Apple({
clientId: this.envConfig.get<string>('OAUTH_APPLE_CLIENT_ID'),
clientSecret: {
keyId: this.envConfig.get<string>('OAUTH_APPLE_KEY_ID'),
privateKey: this.envConfig.get<string>(
'OAUTH_APPLE_PRIVATE_KEY',
),
teamId: this.envConfig.get<string>('OAUTH_APPLE_TEAM_ID'),
},
scope: ['name', 'email'],
}),
How am I supposed to get Apple user name and email?
I can't find any method of SessionContainer
that would return thatnkshah2
05/25/2022, 12:48 PMThirdPartyPasswordless.thirdPartySignInUp
returns a user object that contains the user's email
To get the user's name you will need to query the third party provider directlyfragordie
05/25/2022, 1:19 PM