Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7151

[Java Broker] Improve error handling in OAuth2 AuthenticationProvider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • qpid-java-6.1
    • Broker-J
    • None

    Description

      Currently, some OAuth2 token endpoints (I'm looking at you GitHub) return status code 200 even if an error occurs. This is not caught an subsequent an exception is thrown when the access token is not found.

      Our code should handle this better and not only check for the status code but also for an "error" entry in the response body.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lorenz.quack Lorenz Quack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: