Issues with Linking Apple Auth to Existing Account
auth
Im working in Flutter using Supabase Auth. My desired flow is a user will sign up and create their account with Supabase Phone Auth and then they can optionally link their apple account as an additonal auth method.
await auth.linkIdentity(OAuthProvider.apple)
await auth.linkIdentity(OAuthProvider.apple)
Im using this method to launch apple auth. I can successfully go through apple flow but when I complete the flow it fails to redirect and get the following error
PlatformException(Error, Error while launching https://appleid.apple.com/ auth/authorize?client_id=com.spoofcard. web&redirect_uri=...
PlatformException(Error, Error while launching https://appleid.apple.com/ auth/authorize?client_id=com.spoofcard. web&redirect_uri=...
I've confirmed all of my apple & supabase credentials seem to be correct.
I've seen some mixed answers online with some people claiming auth.linkIdentity simply does not work for apple. Can anyone confirm if this method will work? I've read through supabase's documentation and havent found any good info but if theres additional documentation let me know.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.