Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6027

oauth2 client redirect uris are never valid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.2
    • 3.0.2, 3.1
    • JAX-RS Security
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            rickdn Ricky Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: