You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2016/03/18 12:54:33 UTC

[jira] [Resolved] (QPID-7151) [Java Broker] Improve error handling in OAuth2 AuthenticationProvider

     [ https://issues.apache.org/jira/browse/QPID-7151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall resolved QPID-7151.
------------------------------
    Resolution: Fixed

Changes look fine to me.

> [Java Broker] Improve error handling in OAuth2 AuthenticationProvider 
> ----------------------------------------------------------------------
>
>                 Key: QPID-7151
>                 URL: https://issues.apache.org/jira/browse/QPID-7151
>             Project: Qpid
>          Issue Type: Improvement
>            Reporter: Lorenz Quack
>             Fix For: qpid-java-6.1
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org