Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-12039

Out of Box error messages based on Scenario

    Details

    • Support Ticket IDs:

      Description

      environment

       

      issue background:

       provide all OOTB error message return by the product per scenario.

      business reason: So that it will help our end application integration / Testing team aware which error message,

       

      action taken:

      advised client to review

      https://backstage.forgerock.com/docs/openam/13.5/reference/#chap-log-messages

      Chapter 9. Log Files and Messages

       

      however,

       

      client gone through the document with log message chapter but not find the most of the error message they got from API, 

      Just few examples

      1. When the oauth2 client authentication failed it return "{"error_description":"Client authentication failed","error":"invalid_client"} "
        2. When authentication failed for endpoint /authenticate , if authenticate failed its give "{"code":401,"reason":"Unauthorized","message":"Authentication Failed"}"
        for 2nd fail, its gives "{"code":401,"reason":"Unauthorized","message":"Authentication Failed Warning: You will be locked out after 1 more failure(s)."}"
        3. When resource authentication failed its return error message " {"error_description":"Resource owner authentication failed","error":"invalid_grant"}"

      next action:

      if more error messages or error code can be added in document

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jobby.thomas Jobby Thomas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: