[SOLVED] OAuth2 Apple Sign in "OAuth provider failed to return email" error
- 0
- Self Hosted
- Flutter
Hi, I am not able to Sign in with Apple to Appwrite (self hosted), I followed this post https://dev.to/appwrite/apple-sign-in-with-appwrite-2576 and I still get that error.
I could sign in with Google by the way, but not with Apple. I'm using the iOS Simulator.
What's the flutter SDK version you're using?
3.19.2
I will upgrade to 3.19.3 and check
I will check on a real device now too
This is flutter, right?
Or apple native?
Yeah Flutter sorry 🙂
I didn't specify that
No worries 🙂
Do you have the target version set to 11?
I have set it to 14
Oh, then that could be the issue. Try setting it to 11
In XCode
Oh ok, I thought it was 11 or above
Yes, I checked and it's true, but maybe that's the issue 🤔
Ok I will try that
I'm using ios target version 12.0, can't use 11.0 because xcode 15 doesn't support less than 12.0
Yes, you should use a version superior to 11
I have created a new Apple account with another email... it works now... the other account that I was using is my main account, isn't that strange?
Could it happen with some accounts, and not with others?
I think the issue was that apple doesn't retrieve again the data after first time and only the email. First time the app didn't get the email correctly and consequently after that time, it didn't got it correctly
Ok, thanks for your help!
If your issue has been solved, you can mark this post as closed by adding "[SOLVED]" to the beginning of the title
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error