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.
signInWith(Provider) method can be called anywhere, you can treat it like any other suspending function.handleDeeplinks(), if set up. On Desktop and JS devices it will be automatically handled.The OAuth provider to use for the user's authentication, for example `Google` or `GitHub`.
The redirect url to use. If you don't specify this, the platform specific will be used, like deeplinks on android.
The configuration for signing in with an OAuth provider.
supabase.auth.signInWith(Github)
supabase.auth.signInWith(Github) {
scopes.add("email")
}
val url = supabase.auth.getOAuthUrl(Github, redirectUrl = "https://example.com")
val url = supabase.auth.getOAuthUrl(Github, redirectUrl = "https://example.com") {
scopes.add("email")
}