Flutter: approveAuthorization

Approves a pending OAuth authorization request on behalf of the signed-in user. The response contains the redirect URL the user should be sent to.

Parameters

Examples

Approve authorization

final consent =
    await supabase.auth.oauth.approveAuthorization(authorizationId);
// Redirect the user to consent.redirectUrl