Links an oauth identity to an existing user. This method supports the PKCE flow.
linkIdentity()
.linkIdentity()
will fail.linkIdentity
is run in the browser, the user is automatically redirected to the returned URL. On the server, you should handle the redirect.const \{ data, error \} = await supabase.auth.linkIdentity(\{
provider: 'github'
\})