Back

[CLOSED] Apple privaterelay as name and email

  • 1
  • Users
  • Flutter
  • Accounts
Drake
3 Nov, 2023, 22:20

soo im seeing something here about there also being a user name and email... https://stackoverflow.com/questions/66452252/how-to-get-users-name-on-sign-in-with-apple

TL;DR
The user is discussing the issue of not being able to retrieve the user's name when using Apple privaterelay for name and email in appwrite. They explore different solutions such as hiding the email or manually handling it, but are unable to find a satisfactory solution. The thread concludes with a suggestion to dump the response from Apple to see if the name is included. No solution is provided in the thread.
D5
3 Nov, 2023, 22:20

[CLOSED] Apple privaterelay as name and email

Drake
3 Nov, 2023, 22:20

any chance you can try dumping the response from apple?

D5
3 Nov, 2023, 22:20

That seems only available in app

Drake
3 Nov, 2023, 22:21

but the app is appwrite

D5
3 Nov, 2023, 22:21

Yes, I mean since appwrite performs login in the browser

D5
3 Nov, 2023, 22:21

And that seems only available in native

Drake
3 Nov, 2023, 22:22

maybe πŸ€·πŸΌβ€β™‚οΈ

Drake
3 Nov, 2023, 22:22

to see if the name is in there

D5
3 Nov, 2023, 22:23

Will try. Sincerely I would like to disable Apple login and only allow email, but unfortunately Apple forces you 😭

Drake
3 Nov, 2023, 22:24

what do you mean?

D5
3 Nov, 2023, 22:25

If you want to publish to app store and allow login with Google, you're forced to add Apple login otherwise your app will be rejected

D5
3 Nov, 2023, 22:27

Seems it's not possible because you need to request it in the consent screen

Drake
3 Nov, 2023, 22:27

add a feature flag that hides the google login during review and then enable it after review 🀣

Drake
3 Nov, 2023, 22:27

huh?

D5
3 Nov, 2023, 22:27

Oh, great plan 🀣

D5
3 Nov, 2023, 22:28

Name field doesn't appear when login

D5
3 Nov, 2023, 22:28

Screenshot from stack overflow

Drake
3 Nov, 2023, 22:28

Name is right there 🧐

D5
3 Nov, 2023, 22:29

When you login in you appwrite app, name field is missing so it's nor being retrieved and you can't get it after login

D5
3 Nov, 2023, 22:29

From what I'm reading, it's not possible to get the account name but the name specified there

Drake
3 Nov, 2023, 22:29

yes, because, right now, appwrite only gets the email

Drake
3 Nov, 2023, 22:30

yes, but that would be better than the email or asking the user for name

D5
3 Nov, 2023, 22:31

I think I will just handle it manually ~~ or hiding it after the reviewer opens the app ~~

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