Create SSO Provider
Configure SSO providers for the organization.
Quick Navigation
Endpoint
POST /api/v1/sso/providers
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Content-Type | Yes | application/json |
Request Body
{
"provider_type": "saml",
"name": "Okta SSO",
"entity_id": "https://example.okta.com",
"sso_url": "https://example.okta.com/sso/saml",
"certificate": "base64_certificate",
"attribute_mapping": {
"email": "email",
"name": "displayName"
}
}
Response
Success (201)
{
"success": true,
"data": {
"provider": {
"id": 1,
"name": "Okta SSO",
"provider_type": "saml",
"status": "active"
},
"message": "SSO provider created successfully"
},
"message": "SSO provider created successfully"
}
Features
- SAML/OIDC provider configuration
- Certificate management
- Attribute mapping
- Audit logging