Uploaded image for project: 'Apache Oltu'
  1. Apache Oltu
  2. OLTU-63

Add Extra fields to OAuthProblemException for easier spec compliant error handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • oauth2-0.31
    • oauth2-common
    • None

    Description

      In order to handle spec correct errors the response status code may vary in different cases. (e.g. 401 when client authentication fails). Adding this field to the OAuthProblemException class helps in creating the correct error response.

      I also created a patch for this. See the attachment.

      Attachments

        Activity

          People

            Unassigned Unassigned
            steinwelberg Stein Welberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: