getAuthorizationDetails
abstract suspend fun getAuthorizationDetails(authorizationId: String): OAuthAuthorizationDetailsResponse(source)
Retrieves details about an OAuth authorization request. Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
Returns OAuthAuthorizationDetails including client info, scopes, and user information. If the response includes only a redirect_url field, it means consent was already given - the caller should handle the redirect manually if needed, so a OAuthRedirect will be returned.
Parameters
authorizationId
The corresponding authorization id