mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
## Context Adds support for multiple custom auth providers in custom-content <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for multiple custom sign-in providers via a new plural configuration. * Updated the sign-in page to render all configured custom provider options while maintaining compatibility with the legacy single-provider setting. * Improved the custom provider button display to remove internal prefixes from provider names. * **Documentation** * Updated the configuration schema, examples, and sample data to document the new multi-provider setting. * Marked the legacy single-provider configuration as deprecated in favor of the plural option. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
118 lines
3.4 KiB
JSON
118 lines
3.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"$schema": {
|
|
"type": "string"
|
|
},
|
|
|
|
"app:title": {
|
|
"type": ["string", "null"],
|
|
"description": "Render a custom HTML title for the site"
|
|
},
|
|
|
|
"dashboard_auth:custom_provider": {
|
|
"type": ["string", "null"],
|
|
"description": "Show a custom provider on the sign in page (Continue with X). Will be deprecated by dashboard_auth:custom_providers."
|
|
},
|
|
|
|
"dashboard_auth:custom_providers": {
|
|
"type": ["array", "null"],
|
|
"description": "Show a custom provider on the sign in page (Continue with X)",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
|
|
"docs:row_level_security_guide_path": {
|
|
"type": ["string"],
|
|
"description": "The path to the row level security guide in the docs"
|
|
},
|
|
|
|
"organization:legal_documents": {
|
|
"type": ["array", "null"],
|
|
"description": "Renders a provided set of documents under the organization legal documents page",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": { "type": "string" },
|
|
"name": { "type": "string" },
|
|
"description": { "type": "string" },
|
|
"action": {
|
|
"type": "object",
|
|
"properties": {
|
|
"text": { "type": "string" },
|
|
"url": { "type": "string" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"project_homepage:client_libraries": {
|
|
"type": "array",
|
|
"description": "Renders a provided set of client libraries under the project's home page",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"language": { "type": "string" },
|
|
"officialSupport": { "type": "boolean" },
|
|
"releaseState": { "type": "string" },
|
|
"docsUrl": { "type": "string" },
|
|
"gitUrl": { "type": "string" },
|
|
"altIconName": { "type": "string" }
|
|
},
|
|
"required": ["language", "officialSupport", "docsUrl"]
|
|
}
|
|
},
|
|
"project_homepage:example_projects": {
|
|
"type": ["array", "null"],
|
|
"description": "Renders a provided set of example projects under the project's home page",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": { "type": "string" },
|
|
"description": { "type": "string" },
|
|
"iconUrl": { "type": "string" },
|
|
"url": { "type": "string" }
|
|
}
|
|
}
|
|
},
|
|
|
|
"logs:default_query": {
|
|
"type": ["string", "null"],
|
|
"description": "Renders a default query when landing on the logs explorer"
|
|
},
|
|
|
|
"infra:cloud_providers": {
|
|
"type": ["array"],
|
|
"description": "Filters the valid cloud providers",
|
|
"items": {
|
|
"type": "string",
|
|
"enum": ["AWS", "AWS_K8S", "AWS_NIMBUS", "FLY"]
|
|
}
|
|
},
|
|
"infra:aws_nimbus_label": {
|
|
"type": "string",
|
|
"description": "The label of the AWS Nimbus provider"
|
|
},
|
|
|
|
"ssl:certificate_url": {
|
|
"type": "string",
|
|
"description": "The URL of the SSL certificate"
|
|
}
|
|
},
|
|
"required": [
|
|
"app:title",
|
|
"docs:row_level_security_guide_path",
|
|
"organization:legal_documents",
|
|
"project_homepage:client_libraries",
|
|
"project_homepage:example_projects",
|
|
"logs:default_query",
|
|
"infra:cloud_providers",
|
|
"infra:aws_nimbus_label",
|
|
"ssl:certificate_url"
|
|
],
|
|
"additionalProperties": false
|
|
}
|