Flutter: updateProvider

Updates an existing custom provider. When issuer or discoveryUrl changes on an OIDC provider, the server re-fetches and validates the discovery document before persisting.

Parameters

Examples

Update a custom provider

final CustomOAuthProvider provider =
    await supabase.auth.admin.customProviders.updateProvider(
  'custom:mycompany',
  UpdateCustomProviderParams(
    customClaimsAllowlist: ['groups', 'org_id', 'mail'],
  ),
);