Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6EAE81793B for ; Fri, 26 Sep 2014 07:30:34 +0000 (UTC) Received: (qmail 96702 invoked by uid 500); 26 Sep 2014 07:30:34 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 96660 invoked by uid 500); 26 Sep 2014 07:30:34 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 96500 invoked by uid 99); 26 Sep 2014 07:30:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2014 07:30:34 +0000 Date: Fri, 26 Sep 2014 07:30:34 +0000 (UTC) From: "Ricky Nguyen (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-6027) oauth2 client redirect uris are never valid MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)