v1
latestOpenAPI 3.0.02026-07-241010520.6 KBUsers
Create SSO Provider
Setup the provider for Single Sign-On
For more on SSO, see OpenID Connect specification and our tutorial.
post/tenants/{tenant_id}/sso_provider
Path parameters
tenant_idstring uuid required
The ID of the tenant the SSO Provider belongs to.
Request body
Example request
{
"sso_provider": {
"auth_uri": "https://login.foobar-sso-provider.com/services/oauth2/authorize",
"token_uri": "https://login.foobar-sso-provider.com/services/oauth2/token",
"openid_secret": "abcde",
"openid_discovery_doc_url": "https://login.foobar-sso-provider.com/services/oauth2/.well-known/openid-configuration"
}
}Response
SSO Provider successfully created.
Example response
{
"sso_provider": {
"provider": "aurora_solar",
"auth_uri": "https://login.foobar-sso-provider.com/services/oauth2/authorize",
"token_uri": "https://login.foobar-sso-provider.com/services/oauth2/token",
"openid_secret_last_four": "abcd",
"openid_discovery_doc_url": "https://login.foobar-sso-provider.com/services/oauth2/.well-known/openid-configuration",
"openid_base_url": "https://app.aurorasolar.com/auth/openid/aurora_solar",
"openid_callback_url": "https://app.aurorasolar.com/auth/openid/aurora_solar/callback"
}
}