Get SSO configuration for organization
Get SSO configuration for the current user’s organization.
Returns the current SAML SSO configuration including domains, metadata settings, and attribute mappings.
Context:
- Returns SSO configuration for the authenticated user’s organization
- Includes both active and inactive configurations
- Shows configuration stored in local database
Response Data:
- sso_provider_id: Supabase SSO provider identifier
- domains: Email domains using this SSO provider
- metadata_url: URL for SAML metadata (if configured)
- attribute_mapping: SAML attribute to user field mappings
- is_active: Whether the SSO provider is currently enabled
Use Cases:
- Reviewing current SSO configuration
- Checking SSO status before updates
- Auditing SSO provider settings
Related Endpoints:
- POST /auth/sso - Create SSO configuration
- PATCH /auth/sso - Update SSO metadata
Authorizations
API key authentication. Include your API key in the X-API-Key header as: X-API-Key YOUR_API_KEY
Example:
JWT Bearer token authentication. Include your access token in the Authorization header as: Bearer YOUR_ACCESS_TOKEN
Example:
Response
SSO configuration retrieved successfully
API response model for SSO organization configuration.
Creation timestamp
Supabase SSO provider ID
Last update timestamp
SAML attribute mappings
Email domains for this SSO provider
Whether the SSO provider is active
SAML metadata URL
Hash of SAML metadata XML
Associated organization ID