v1
latestOpenAPI 3.0.42026-08-064075233.0 KBIdentityProviders
Create a new identity provider
Creates a new identity provider for the specified organization.
post/api/organizations/{organizationId}/identityproviders
Path parameters
organizationIdstring uuid required
The identifier for the organization that the identity provider belongs to.
Request body
Example request
{
"id": "4100b683-bde7-40c8-bc9c-97c293913f7f",
"name": "My Identity Provider",
"description": "This is a sample identity provider.",
"organizationId": "8b3d1b78-00c8-4b4a-8874-d5771048d750",
"crosserRole": "Admin",
"clientId": "client-id-123",
"clientSecret": "super-secret",
"callbackPath": "/auth/callback",
"authority": "https://authority.example.com",
"userNameClaim": "preferred_username",
"debug": true,
"getClaimsFromUserInfoEndpoint": true,
"domains": [
"example.com",
"another-example.com"
],
"scopes": [
"openid",
"profile",
"email"
],
"roleClaims": [
"admin",
"user"
],
"roleMappings": {
"external-role-1": [
"internal-role-1",
"internal-role-2"
],
"external-role-2": [
"internal-role-3"
]
}
}Response
OK