Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31104

Write correctly the error when uncaught exceptions occur in OAuth2 servlet

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF63, 2021.23
    • Component/s: OAuth
    • Release Notes Summary:
      OAuth2 servlet better handles unexpected error
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #65
    • Story Points:
      2

      Description

      The response is not written in the expected format (text/html or application/json) when an uncaught exceptions occur in the NuxeoOAuth2Servlet.

      Expected errors, such as invalid_client, invalid_grant, etc.. are correctly handled by the servlet. We should do the same for unexpected errors.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: