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

AuthorizationCodeGrantHandler sets the approved scopes as the requested ones

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1, 3.0.5
    • JAX-RS Security
    • None
    • Unknown

    Description

      The code grant handler sets the approved scopes as requested scopes and leaves the approved scopes empty - this works because the docs imply that if the approved scopes are empty it means the user has not downscoped. However this makes AccessTokenRegistration.getApprovedScopes useless in case of the authorization code flow. It needs to be improved/fixed to make it cleaner

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: