Python: Link an identity to a user (original) (raw)
The Enable Manual Linking option must be enabled from your project's authentication settings.
The user needs to be signed in to call
link_identity()
.If the candidate identity is already linked to the existing user or another user,
link_identity()
will fail.If
link_identity
is run on the server, you should handle the redirect.
Parameters
credentials
(Required)
undefined
Examples
Link an identity to a user
response = supabase.auth.link_identity(
{provider: "github"}
)