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#: Sign in a user through SSO

Signs in a user through enterprise single sign-on (SSO).

Examples

Sign in with an email domain

var response = await supabase.Auth.SignInWithSSO("acme.com");

// Redirect the user to complete sign-in.
var ssoUrl = response.Uri;

Sign in with a provider ID

var response = await supabase.Auth.SignInWithSSO(providerId);
var ssoUrl = response.Uri;