Initiate SAML protocol
Calls the authentication cluster to initiate SAML Single Sign-on (Web Browser SSO profile) protocol and redirects the user to the identity provider for authentication. The authentication cluster must be configured prior to initiation.
Query parameters
-
state string
An optional relay state that is sent back to the client after the user is authenticated
Responses
-
Redirects the client to the identity provider with a SAML authentication request
Additional properties are allowed.
-
The administrator needs to configure the authentication cluster. (code:
authc.no_authentication_cluster
) -
The authentication cluster failed to process the request. The response body contains details about the error. (code:
authc.authentication_cluster_error
)
GET
/users/auth/saml/_init
curl \
-X GET https://{{hostname}}/api/v1/users/auth/saml/_init
Response examples (302)
{}
Response examples (501)
# Headers
x-cloud-error-codes: authc.no_authentication_cluster
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (502)
# Headers
x-cloud-error-codes: authc.authentication_cluster_error
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}