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;