You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Ricky Nguyen (JIRA)" <ji...@apache.org> on 2014/09/26 19:41:34 UTC
[jira] [Commented] (CXF-6027) oauth2 client redirect uris are never
valid
[ https://issues.apache.org/jira/browse/CXF-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14149693#comment-14149693 ]
Ricky Nguyen commented on CXF-6027:
-----------------------------------
Thanks for the quick fix!
> oauth2 client redirect uris are never valid
> -------------------------------------------
>
> Key: CXF-6027
> URL: https://issues.apache.org/jira/browse/CXF-6027
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS Security
> Affects Versions: 3.0.2
> Reporter: Ricky Nguyen
> Assignee: Sergey Beryozkin
> Fix For: 3.0.2, 3.1.0
>
>
> Using the DefaultEncryptingOAuthDataProvider in 3.0.2-SNAPSHOT, I always get an error about invalid redirect uris, despite setting the correct redirect uri when registering the client and when making the authorize code grant request.
> I stepped through the debugger and tracked it down to the tokenization of the client in ModelEncryptionSupport. The redirect uris and registered scopes are swapped when tokenizing/recreating the client object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)