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

Token URI is missing ampersands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.6.2, 2.7
    • 2.6.4, 2.7.1
    • JAX-RS Security
    • None
    • Unknown

    Description

      In ImplicitGrantService line 75 and 76 need to be changed from:
      sb.append(OAuthConstants.ACCESS_TOKEN).append("=").append(token.getTokenKey());
      sb.append(OAuthConstants.ACCESS_TOKEN_TYPE).append("=").append(token.getTokenType());

      to:
      sb.append("&").append(OAuthConstants.ACCESS_TOKEN).append("=").append(token.getTokenKey());
      sb.append("&").append(OAuthConstants.ACCESS_TOKEN_TYPE).append("=").append(token.getTokenType());

      in order to have a properly formed URI.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: