Authenticates the client through a third-party auth provider such as Clerk, Auth0, Firebase, or Cognito, instead of Supabase Auth. Set SupabaseOptions.ThirdPartyAccessToken to a callback that returns the provider's current JWT, or null when no user is signed in.
Authorization: Bearer. Realtime asks for it on connect and on every heartbeat.null token sends the request with the project API key. A callback that throws fails the request with the same exception. The client does not fall back to the API key.Auth and AdminAuth throw InvalidOperationException, and InitializeAsync() restores no session. SessionHandler, AutoRefreshToken, and AuthFlowType are ignored.Authorization entry in SupabaseOptions.Headers.var options = new Supabase.SupabaseOptions
{
ThirdPartyAccessToken = cancellationToken => clerk.GetTokenAsync(cancellationToken)
};
var supabase = new Supabase.Client(url, publishableKey, options);
await supabase.InitializeAsync();
var todos = await supabase.From<Todo>().Get();