You NEVER use a value of resultCode as condition of processing.For example, an response from /auth/authorization API includes either the following values in “action” field:
- BAD_REQUEST
- FORM
- INTERACTION
- INTERNAL_SERVER_ERROR
- LOCATION
- NO_INTERACTION
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Handling responses from Authlete API and the importance of processing based on the action parameter rather than the resultCode value.
You NEVER use a value of resultCode as condition of processing.For example, an response from /auth/authorization API includes either the following values in “action” field:
HTTP/1.1 400 Bad Request
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache
(Add responseContent value here)
HTTP/1.1 302 Found
Location: (Add responseContent value here)
Cache-Control: no-store
Pragma: no-cache