Repository: cxf-fediz Updated Branches: refs/heads/1.3.x-fixes fe4fbfe84 -> 12051ad2d
OIDC revoke token invalid post URL Revoke token form were posted to a fixed context-path (fediz-oidc) Signed-off-by: Colm O hEigeartaigh <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/12051ad2 Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/12051ad2 Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/12051ad2 Branch: refs/heads/1.3.x-fixes Commit: 12051ad2de5bf0aa8651243fd381f653871ea334 Parents: fe4fbfe Author: gonzalad <[email protected]> Authored: Sun Apr 9 22:25:54 2017 +0200 Committer: Colm O hEigeartaigh <[email protected]> Committed: Tue Apr 18 17:55:57 2017 +0100 ---------------------------------------------------------------------- .../oidc/src/main/webapp/WEB-INF/views/clientCodeGrants.jsp | 2 +- services/oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/12051ad2/services/oidc/src/main/webapp/WEB-INF/views/clientCodeGrants.jsp ---------------------------------------------------------------------- diff --git a/services/oidc/src/main/webapp/WEB-INF/views/clientCodeGrants.jsp b/services/oidc/src/main/webapp/WEB-INF/views/clientCodeGrants.jsp index 4b170e6..44a4646 100644 --- a/services/oidc/src/main/webapp/WEB-INF/views/clientCodeGrants.jsp +++ b/services/oidc/src/main/webapp/WEB-INF/views/clientCodeGrants.jsp @@ -75,7 +75,7 @@ } %> <td> - <form action="/fediz-oidc/console/clients/<%= client.getClientId() + "/codes/" + token.getCode() + "/revoke"%>" method="POST"> + <form action="<%=basePath%>console/clients/<%= client.getClientId() + "/codes/" + token.getCode() + "/revoke"%>" method="POST"> <input type="submit" value="Delete"/> </form> </td> http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/12051ad2/services/oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp ---------------------------------------------------------------------- diff --git a/services/oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp b/services/oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp index 54ea6a9..b341739 100644 --- a/services/oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp +++ b/services/oidc/src/main/webapp/WEB-INF/views/clientTokens.jsp @@ -19,7 +19,7 @@ } SimpleDateFormat dateFormat = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss", Locale.US); dateFormat.setTimeZone(TimeZone.getTimeZone("GMT")); - + %> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -110,7 +110,7 @@ } %> <td> - <form action="/fediz-oidc/console/clients/<%= client.getClientId() + "/at/" + token.getTokenKey() + "/revoke"%>" method="POST"> + <form action="<%=basePath%>console/clients/<%= client.getClientId() + "/at/" + token.getTokenKey() + "/revoke"%>" method="POST"> <input type="submit" value="Delete"/> </form> </td> @@ -169,7 +169,7 @@ </td> <td> - <form action="/fediz-oidc/console/clients/<%= client.getClientId() + "/rt/" + token.getTokenKey() + "/revoke"%>" method="POST"> + <form action="<%=basePath%>console/clients/<%= client.getClientId() + "/rt/" + token.getTokenKey() + "/revoke"%>" method="POST"> <input type="submit" value="Delete"/> </form> </td>
