Links an oauth identity to an existing user. This method supports the PKCE flow.
linkIdentity()
.linkIdentity()
will fail.The provider to link the identity to.
The URL to redirect the user to after they sign in with the third-party provider.
A list of scopes to request from the third-party provider.
The launch mode for the auth screen. Defaults to `LaunchMode.platformDefault`.
Additional query parameters to be passed to the OAuth flow.
await supabase.auth.linkIdentity(OAuthProvider.google);