Hi, I set up ThirdPartyPasswordless recipe with Ap...
# support-questions
f
Hi, I set up ThirdPartyPasswordless recipe with Apple login. I set the following scope for apple:
Copy code
ts
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 that
n
ThirdPartyPasswordless.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 directly
f
https://github.com/supertokens/supertokens-core/issues/451 feel free to dispute and close it if what I say doesn't make sense ^^. I thought you should've had this on github.