Approve a CIBA request.
POST
/api/ciba/approve
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/ciba/approve \ --header 'Content-Type: application/json' \ --data '{ "auth_req_id": "auth_req_123", "user_id": "user_123" }'Request Body required
Section titled “Request Body required ” Media type application/json
object
auth_req_id
required
string
user_id
string
sub
string
nonce
string
reason
string
Example
{ "auth_req_id": "auth_req_123", "user_id": "user_123"}Responses
Section titled “ Responses ”Successful JSON response.
Media type application/json
object
success
required
boolean
message
string
error
string
error_description
string
retry_after
integer
Example
{ "success": true, "message": "Authentication request approved"}