Ricky Nguyen created CXF-6027:
---------------------------------

             Summary: 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


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)

Reply via email to