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.

C#: Link an identity to a user

Links an OAuth identity to the signed-in user.

Examples

Link an identity

var state = await supabase.Auth.LinkIdentity(Provider.Github, new SignInOptions());

// Redirect the user to authorize the linked provider.
var authorizeUrl = state.Uri;