Test authentication
Use this endpoint to check if your request are authenticated properly.
GET
/examplePath parameters
apiBasePathstringrequiredIts value depends on the apiBasePath set by the user
Responses
200The session passed verification and went through the application code
401The session doesn't exists or if it needs to be refreshed
messagestringunauthorised or try refresh token
403The session exists, but didn't pass a claim validator
messagestringclaimValidationErrorsobject[]Show propertiesHide properties
Array of
objectidstringreasonobjectTry it
Server
Parameters
Request
curl -X GET "/example"const response = await fetch("/example", {
method: "GET"
});import requests
response = requests.get(
"/example",
)Response
The session passed verification and went through the application code
{
"message": "try refresh token"
}{
"message": "invalid claim",
"claimValidationErrors": [
{
"id": "st-ev",
"reason": {
"message": "value does not exist",
"expectedValue": "val",
"actualValue": "claimVal"
}
}
]
}