Back

Name doesn’t fetch. Signin with Apple, Hide my email,

  • 0
  • Self Hosted
  • Accounts
  • Web
xue
13 Feb, 2024, 10:17

As you see in the screenshot, its an sample user that signin with apple privately. Is there any config or possible way to get user account name name ?

TL;DR
Title: Name not fetching for Signin with Apple; How to get user account name? Message: I'm using `account.createOAuth2Session` with Signin with Apple, but I can't fetch the user's name. The scopes parameter might offer a solution, but I couldn't find detailed documentation on which scopes to use specifically for Apple. Has anyone experienced this before? Solution: Unfortunately, there is no provided solution in the support thread.
xue
13 Feb, 2024, 10:18

Name doesn’t fetch. Signin with Apple, Hide my email,

xue
13 Feb, 2024, 10:19
TypeScript
signInWithApple() {
  this.api.account.createOAuth2Session(
    'apple',
    environment.url.SUCCESS_OAUTH2,
    environment.url.FAILURE_OAUTH2
  );
}

web-sdk: "appwrite": "13.0.0",

xue
13 Feb, 2024, 10:23

as a 4th paramater of account.createOAuth2Session accepts scopes thay may solve it but for specifically Apple, which scopes should i use ? Not well-documented with these in detail? Is there anyone experienced it before ?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more