- Knowledge base
- Troubleshooting,Auth,Supabase Platform
Changes to custom_oauth_max_providers in auth configuration do not persist
If a GET /v1/projects/{ref}/config/auth request returns an unexpectedly high value for custom_oauth_max_providers, or submitting a PATCH request with a lower value fails to persist, this is expected behavior.
Why does this happen?
custom_oauth_max_providers is a server-managed entitlement determined by your project’s subscription tier (limited to 3 on Free, unlimited on Pro and above) rather than a user-editable configuration field. Whenever you update any auth configuration setting, the backend evaluates your organization’s plan and automatically applies the corresponding limit, ignoring manually submitted values for this property.
How to handle this
No corrective action is required:
- This behavior is expected for projects on Pro or Enterprise plans and has no impact on your authentication service if custom OAuth providers are not enabled.
- Remove
custom_oauth_max_providersfrom automated Management API payloads, as client-side overrides are not supported.