Summary
Create a SSO configuration
Description
Create a SSO configuration
Route
POST /sso/configs
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
config |
object |
yes |
SSO configuration |
Copied to Clipboard
{
"config": {
"name": "Auth0",
"ssoType": "saml",
"settings": {
"issuer": "https://www.auth0.com/oauth2/example",
"loginURL": "https://www.auth0.com/login",
"certificate": "MIIDrjCCApagAwIBAgIGAYbHI140MA0GCSqGSIb3DQEBCwUAMIGXMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEU==",
"samlUserNameAttribute": "username",
"samlGroupsAttribute": "groups",
"forceLogin": false,
"description": "This sso configuration connects to Okta",
"logoutURL": "https://www.auth0.com/logout",
"samlEmailAttribute": "email",
"samlFirstNameAttribute": "firstName"
},
"tested": false
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"config": {
"$ref": "sso-schema"
}
},
"required": [
"config"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
The result of the SSO config creation process. |
Copied to Clipboard
{
"status": "Created",
"message": "A sample success message",
"data": {
"name": "Okta",
"ssoType": "saml",
"settings": {
"issuer": "https://www.auth0.com/oauth2/example",
"loginURL": "https://www.auth0.com/login",
"certificate": "MIIDrjCCApagAwIBAgIGAYbHI140MA0GCSqGSIb3DQEBCwUAMIGXMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEU==",
"samlUserNameAttribute": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
"samlGroupsAttribute": "groups",
"forceLogin": false,
"description": "This sso configuration connects to Okta",
"logoutURL": "https://www.auth0.com/logout",
"samlEmailAttribute": "mail",
"samlFirstNameAttribute": "name"
},
"tested": false
}
}