For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
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);