Web app - apple login error
Closed this issue · 6 comments
I have integrated apple login in flutter web app. But when it opens popup for login , i am entering all login details. After that it also ask for two factor authentication for new user. But after completion of all steps it returns error and doent redirect to web app automatically with credentials.
Please check below snapshot for reference. Please help in this case..it really urgent.
https://drive.google.com/file/d/1wVDCNUnwu7u1DaQg07n6BsHC74nPBbJp/view?usp=share_link
I am having the same problem. We wrote before, the package owner said it was solved without doing anything and closed it, so he is very interested. :-)
I'm experiencing the same problem. The only way I've been able to get Sign in with Apple to work on web is by following the documentation in Firebase for this (not using this package), but then the problem I run into is that I'm unable to properly set the user name for the user in our database after it authenticates, because it doesn't seem like Firebase properly returns the fullName
from whatever service it's using to connect to the Apple ID system.
Hello, does anyone got a fix or a workaround ? That's a very blocking issue considering that I'm expecting not to use FireBase.
Thanks
Hello, does anyone got a fix or a workaround ? That's a very blocking issue considering that I'm expecting not to use FireBase. Thanks
I found out my issue. As mentionned into the example, regarding WEB only, the callback URL from Flutter must be the URL of the App ('https://${window.location.host}/'). So, this URL must also be added into the list of return URL from Register Website URL on Identifiers of Apple developper console. And obvisously this URL can't be a localhost !,
this URL must also be added into the list of return URL from Register Website URL
Indeed! So assuming everyone else was having the same issue I'll close this.
This is mentioned in the web-part of the docs here: https://github.com/aboutyou/dart_packages/tree/master/packages/sign_in_with_apple/sign_in_with_apple#web
If you have any suggestions to make that clearer, please feel free :)