Skip to main content

Create SSO Provider

Configure SSO providers for the organization.

Quick Navigation
Outline

Endpoint

POST /api/v1/sso/providers

Headers

HeaderRequiredDescription
AuthorizationYesBearer <access_token>
Content-TypeYesapplication/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