Skip to main content
POST
/
identity
/
verify
Verify User
curl --request POST \
  --url http://{host}:{port}/{contextPath}/identity/verify \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "testUser",
  "password": "testPassword"
}'
{
  "authenticatedUser": "testUser",
  "authenticated": true
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
username
string | null

The username of a user.

password
string | null

A password of a user.

Response

Request successful.

authenticatedUser
string | null

An id of authenticated user.

authenticated
boolean | null

A flag indicating if user is authenticated.

tenants
string[] | null

Will be null.

groups
string[] | null

Will be null.