linkIdentity() with Google
In my Supa app (Swift), authentication used to be through phone number. Now, it's through Google/Apple.
I'm trying to make changes such that, for my own user (which is only phone-authenticated), I can also sign in through my Google email. It's easier that way.
I couldn't find a way to link a Google account to my user in the Supa console, so I'm trying to do it through my app by calling
This does open Google on a web browser, but it only shows a
I already added my
Still getting 500 with zero additional info. Am I doing something wrong? How can I get this working?
Thanks in advance!
I'm trying to make changes such that, for my own user (which is only phone-authenticated), I can also sign in through my Google email. It's easier that way.
I couldn't find a way to link a Google account to my user in the Supa console, so I'm trying to do it through my app by calling
linkIdentity() when I'm already signed-in, and using .google as the provider.This does open Google on a web browser, but it only shows a
500 error and nothing more.I already added my
/auth/v1/callback URL to the authorized redirect URIs in Google Cloud, I toggled on "Allow manual linking" on Supa, and I added my app's URL in the "Site URL" and "Redirect URLs" fields on Supa.Still getting 500 with zero additional info. Am I doing something wrong? How can I get this working?
Thanks in advance!