cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-5530) Wrong error code for non existing client's
Date Thu, 30 Jan 2014 11:02:10 GMT

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

Sergey Beryozkin resolved CXF-5530.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0-milestone2
         Assignee: Sergey Beryozkin

> Wrong error code for non existing client's
> ------------------------------------------
>
>                 Key: CXF-5530
>                 URL: https://issues.apache.org/jira/browse/CXF-5530
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS Security
>    Affects Versions: 3.0.0-milestone1, 2.7.8, 3.0.0-milestone2
>            Reporter: Tomasz Kędziora
>            Assignee: Sergey Beryozkin
>             Fix For: 3.0.0-milestone2
>
>
> Currently when I use non existing client_id on call I get response:
> Response Code: 400
> {code}
> {
>   "error": "invalid_request",
>   "error_description": "Client ID is invalid",
>   "error_uri": null
> }
> {code}
> But by RFC it should be returned error=*invalid_client*
> http://tools.ietf.org/html/rfc6749#section-5.2
> Error is generated in that method:
> org.apache.cxf.rs.security.oauth2.services.AccessTokenService.getClient(String)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message