Skip to content

respond-to-challenge

Request

In case asked for a challenge, use it to respond.

Path
tenant_tagstringrequired

Tenant Tag

Bodyapplication/jsonrequired

Challenge request params

challenge_namestringrequired
challenge_responsesobject(contract.ChallengeResponsesParam)required
sessionstringrequired
curl -i -X POST \
  'https://insly-ledger.redocly.app/api/v1/identifier/auth/challenge/{tenant_tag}' \
  -H 'Content-Type: application/json' \
  -d '{
    "challenge_name": "string",
    "challenge_responses": {
      "new_password": "string",
      "software_token_mfa_code": "string",
      "user_attributes": {
        "property1": "string",
        "property2": "string"
      },
      "username": "string"
    },
    "session": "string"
  }'

Responses

OK

Bodyapplication/json
authentication_resultobject(contract.AuthenticationResultType)
challenge_namestring
challenge_parametersobject(contract.ChallengeResultParameters)
dataobject
Response
{ "authentication_result": { "access_token": "string", "expires_in": 0, "id_token": "string", "refresh_token": "string", "token_type": "string" }, "challenge_name": "string", "challenge_parameters": { "qr_code": "string", "required_attributes": [ … ], "secret_code": "string", "user_attributes": { … }, "user_id_for_srp": "string" }, "data": { "property1": "string", "property2": "string" } }