Create a new identity provider
Create a new identity provider. The identity provider can be either a local identity provider or an OIDC identity provider.
The identity provider to register
_id
string
requiredThe internal ID of the Identity Provider |
|||||||||||
name
string
requiredThe internal name of the local identity provider |
|||||||||||
type
string
requiredThe type of identity provider
Value
Local
|
|||||||||||
enabled
boolean
requiredWhether the local identity provider can be used to identify against Horizon |
|||||||||||
enabledOnUI
boolean
requiredWhether the local identity provider can be selected on login to the Horizon UI |
|||||||||||
displayName
array of objects | null (LocalizedString)
The display name of the local identity provider |
|||||||||||
Array [
] |
|||||||||||
description
array of objects | null (LocalizedString)
The description of the local identity provider |
|||||||||||
Array [
] |
|||||||||||
passwordPolicy
string | null
The password policy to enforce for user passwords on the local identity provider |
|||||||||||
emailTemplate
object | null (Email template)
The e-mail template to use for password recovery |
|||||||||||
|
_id
string
requiredThe internal ID of the Identity Provider |
|||
name
string
requiredThe internal name of the identity provider |
|||
type
string
requiredThe type of Identity provider to register
Value
OpenId
|
|||
enabled
boolean
requiredWhether the identity provider can be used to identify against Horizon |
|||
enabledOnUI
boolean
requiredWhether the identity provider can be selected on login to the Horizon UI |
|||
providerMetadataUrl
string
requiredThe URL of the identity provider OpenID callback |
|||
clientCredentials
string
requiredName of the password credentials containing the client ID and secret to use to authenticate Horizon against the identity provider |
|||
scope
string
requiredThe scope where to retrieve the user data from |
|||
trustSystemCAs
boolean
requiredTrust AC coming from the system trust store or only trust AC imported in Horizon |
|||
identifierClaim
string
requiredThe OpenID information that will be used as the user's identifier in Horizon |
|||
emailClaim
string
requiredThe OpenID information that will be used as the user's email in Horizon |
|||
nameClaim
string
requiredThe OpenID information that will be used as the user's name in Horizon |
|||
displayName
array of objects | null (LocalizedString)
The display name of the identity provider |
|||
Array [
] |
|||
description
array of objects | null (LocalizedString)
The description of the identity provider |
|||
Array [
] |
|||
proxy
string | null
The name of the proxy to use to reach the identity provider |
|||
timeout
string | null
The timeout value to use when connecting to the identity provider (must be a valid finite duration) |
-
201 Identity provider successfully registered
application/json_idstring requiredThe internal ID of the Identity Provider
namestring requiredThe internal name of the identity provider
typestring requiredThe type of Identity provider to register
ValueOpenId
enabledboolean requiredWhether the identity provider can be used to identify against Horizon
enabledOnUIboolean requiredWhether the identity provider can be selected on login to the Horizon UI
providerMetadataUrlstring requiredThe URL of the identity provider OpenID callback
clientCredentialsstring requiredName of the password credentials containing the client ID and secret to use to authenticate Horizon against the identity provider
scopestring requiredThe scope where to retrieve the user data from
trustSystemCAsboolean requiredTrust AC coming from the system trust store or only trust AC imported in Horizon
identifierClaimstring requiredThe OpenID information that will be used as the user's identifier in Horizon
emailClaimstring requiredThe OpenID information that will be used as the user's email in Horizon
nameClaimstring requiredThe OpenID information that will be used as the user's name in Horizon
displayNamearray of objects | null (LocalizedString)The display name of the identity provider
Array [
langstring requiredThe ISO 3166-1 (2-letters) code of the language used for the value
valuestring requiredThe localized value
]
descriptionarray of objects | null (LocalizedString)The description of the identity provider
Array [
langstring requiredThe ISO 3166-1 (2-letters) code of the language used for the value
valuestring requiredThe localized value
]
proxystring | nullThe name of the proxy to use to reach the identity provider
timeoutstring | nullThe timeout value to use when connecting to the identity provider (must be a valid finite duration)
-
400 Unable to register the identity provider
application/jsonerrorstring requiredThe error code of the problem
ValueSEC-IDPROV-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Identity Provider
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Identity Provider
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-IDPROV-004
messagestring requiredA short, human-readable summary of the problem type
ValueIdentity Provider already exists
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueIdentity Provider already exists
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
401 Authentication error
application/jsonerrorstring requiredThe error code of the problem
ValueSEC-AUTH-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid credentials or principal does not exist
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid credentials or principal does not exist
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-003
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is not trusted
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is not trusted
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-004
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-005
messagestring requiredA short, human-readable summary of the problem type
ValueCertificate is revoked
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueCertificate is revoked
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-006
messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated or authentication expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated or authentication expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-007
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Identity Provider
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Identity Provider
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-008
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid redirect path
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid redirect path
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-009
messagestring requiredA short, human-readable summary of the problem type
ValuePrincipal not authenticated or authentication expired
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValuePrincipal not authenticated or authentication expired
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
403 Forbidden action
application/jsonerrorstring requiredThe error code of the problem
ValueLIC-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-004
messagestring requiredA short, human-readable summary of the problem type
ValueExpired License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueExpired License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-PERM-001
messagestring requiredA short, human-readable summary of the problem type
ValueInsufficient privileges
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInsufficient privileges
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
500 Unexpected internal server error
application/jsonerrorstring requiredThe error code of the problem
ValueSEC-IDPROV-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueSEC-AUTH-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807