Skip to main content
You're reading Identity & Access Management 7.1.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

Authentication Data API

Download OpenAPI (YAML)Version 1.2

Base URL: https://localhost:9443/api/identity/auth/v1.1

The Authentication Data API (version 1.2).

Download the OpenAPI definition (YAML)

Security schemes​

BasicAuth: HTTP basic

Authentication​

Authenticate user​

POST /authenticate

This API is used to authenticate the user and to get a JWT that can be used to identify the user authenticated.

Request body: application/json

Username and password in the request body. Not required if you have authorized to the API using basic auth.

Schema: AuthenticationRequest

2 properties
NameTypeRequiredDescription
usernamestring
passwordstring

Responses

CodeDescriptionSchema
202

Authentication accepted

AuthenticationSuccessResponse
400

Bad Request

Error
401

Unauthorized

Error
404

Not Found

Error
500

Server Error

Error

Retrieve an authentication context parameter​

GET /context/{sessionKey}

This API is used to retrieve parameters set by the authentication framework to be accessed by the authentication endpoint. Parameters should be set by calling AuthenticationContext.addEndpointParam() to be eligible to query with this API. This can be used to retrieve sensitive parameters required for the authentication endpoint.

Parameters

NameInTypeRequiredDescription
sessionKeypathstringYes

This represents the session data key that will uniquely identify the authentication context

parametersquerystring

Comma-separated list of parameters to filter. If none provided all available parameters will be sent.

Responses

CodeDescriptionSchema
200

OK

Parameters
400

Bad Request

Error
401

Unauthorized

Error
404

Not Found

Error
500

Server Error

Error

Retrieve sensitive parameters used at the authentication flow​

GET /data/{keyType}/{correlationKey}

Before using this API, see instructions above on how to configure this API in IS.
This API is used to retrieve sensitive parameters that can't be sent as query parameters during the authentication flow. This call may not be idempotent if IS is configured to clear the data on retrieval to prevent multiple retrievals.

Parameters

NameInTypeRequiredDescription
keyTypepathstringYes

The correlation key type. Either AuthRequestKey or OauthConsentKey.
AuthRequestKey can be used to query parameters set by the authentication framework and relate to sessionDataKey. </br> OauthConsentKey can be used to query parameters set by the OAuth consent flow and relate to sessionDataKeyConsent.

correlationKeypathstringYes

The correlation key. Either the value of sessionDataKey or sessionDataKeyConsent corresponding to the keyType above.

parametersquerystring

Comma-separated list of parameters to filter. If none provided all available parameters will be returned.

Responses

CodeDescriptionSchema
200

OK

Parameters
400

Bad Request

Error
401

Unauthorized

Error
404

Not Found

Error
500

Server Error

Error

Schemas​

AuthenticationRequest​

Type: object

2 properties
NameTypeRequiredDescription
usernamestring
passwordstring

AuthenticationSuccessResponse​

Type: object

1 property
NameTypeRequiredDescription
tokenstring

Parameters​

Type: object

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring
propertiesobject

Was this page helpful?