Repository: cxf-fediz Updated Branches: refs/heads/master 5015d5fb3 -> 268bc2af0
[FEDIZ-134] Making sure a code challenge is available to the code service Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/268bc2af Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/268bc2af Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/268bc2af Branch: refs/heads/master Commit: 268bc2af0e2eea12a8f0f7549488370b0215ad9d Parents: 5015d5f Author: Sergey Beryozkin <[email protected]> Authored: Tue Nov 17 16:43:27 2015 +0000 Committer: Sergey Beryozkin <[email protected]> Committed: Tue Nov 17 16:43:27 2015 +0000 ---------------------------------------------------------------------- .../src/main/webapp/WEB-INF/views/oAuthAuthorizationData.jsp | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/268bc2af/services/oidc/src/main/webapp/WEB-INF/views/oAuthAuthorizationData.jsp ---------------------------------------------------------------------- diff --git a/services/oidc/src/main/webapp/WEB-INF/views/oAuthAuthorizationData.jsp b/services/oidc/src/main/webapp/WEB-INF/views/oAuthAuthorizationData.jsp index db74371..e601099 100644 --- a/services/oidc/src/main/webapp/WEB-INF/views/oAuthAuthorizationData.jsp +++ b/services/oidc/src/main/webapp/WEB-INF/views/oAuthAuthorizationData.jsp @@ -29,6 +29,14 @@ value="<%= data.getState() %>"/> <% } + %> + <% + if (data.getClientCodeChallenge() != null) { + %> + <input type="hidden" name="code_challenge" + value="<%= data.getClientCodeChallenge() %>"/> + <% + } %> <input type="hidden" name="scope" value="<%= data.getProposedScope() %>"/>
