From d57a02a6bf01faba59dd67011e9d9c34279a9850 Mon Sep 17 00:00:00 2001 From: Chris Chinchilla Date: Mon, 23 Mar 2026 11:47:20 +0100 Subject: [PATCH] Prettier --- .../guides/auth/custom-oauth-providers.mdx | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/apps/docs/content/guides/auth/custom-oauth-providers.mdx b/apps/docs/content/guides/auth/custom-oauth-providers.mdx index 3b44be70f32..4ecb6379cab 100644 --- a/apps/docs/content/guides/auth/custom-oauth-providers.mdx +++ b/apps/docs/content/guides/auth/custom-oauth-providers.mdx @@ -253,9 +253,8 @@ const { data, error } = await supabase.auth.admin.customProviders.updateProvider ```js -const { data, error } = await supabase.auth.admin.customProviders.deleteProvider( - 'custom:my-provider' -) +const { data, error } = + await supabase.auth.admin.customProviders.deleteProvider('custom:my-provider') ``` @@ -306,16 +305,16 @@ By default, providers must return an email address. Set `email_optional` to `tru ### OIDC-specific options -| Field | Type | Default | Description | -| --- | --- | --- | --- | -| `discovery_url` | `string` | `null` | Override the discovery document URL if the provider uses a non-standard location. | -| `skip_nonce_check` | `bool` | `false` | Skip nonce validation on ID tokens. Use only for providers that do not support nonce. | +| Field | Type | Default | Description | +| ------------------ | -------- | ------- | ------------------------------------------------------------------------------------- | +| `discovery_url` | `string` | `null` | Override the discovery document URL if the provider uses a non-standard location. | +| `skip_nonce_check` | `bool` | `false` | Skip nonce validation on ID tokens. Use only for providers that do not support nonce. | ## Error reference -| Error code | HTTP status | Description | -| --- | --- | --- | -| `validation_failed` | 400 | Invalid parameters: missing required fields, bad format, reserved params, or invalid URLs. | -| `conflict` | 400 | A provider with the same identifier already exists. | -| `over_custom_provider_quota` | 400 | Maximum number of custom providers reached. | -| `custom_provider_not_found` | 404 | No provider exists with the given identifier. | +| Error code | HTTP status | Description | +| ---------------------------- | ----------- | ------------------------------------------------------------------------------------------ | +| `validation_failed` | 400 | Invalid parameters: missing required fields, bad format, reserved params, or invalid URLs. | +| `conflict` | 400 | A provider with the same identifier already exists. | +| `over_custom_provider_quota` | 400 | Maximum number of custom providers reached. | +| `custom_provider_not_found` | 404 | No provider exists with the given identifier. |