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": "mail",
"samlFirstNameAttribute": "firstName"
},
"tested": true
}
}
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": "OK",
"message": "A sample success message",
"data": {
"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": "mail",
"samlFirstNameAttribute": "name"
},
"tested": true
}
}