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.

Kotlin: Approve authorization

Approves an OAuth authorization request. Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.

Parameters

Examples

Approve authorization

val redirect = supabase.auth.oauth.approveAuthorization(authorizationId)
println(redirect.redirectUrl)