Skip to content

Commit 8430b42

Browse files
srmoorejricher
authored andcommitted
Both approve pages were using pagecontext rather than the configured
issuer
1 parent a2e8cb1 commit 8430b42

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openid-connect-server-webapp/src/main/webapp/WEB-INF/views/approve.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</h1>
3838

3939
<form name="confirmationForm"
40-
action="${pageContext.request.contextPath.endsWith('/') ? pageContext.request.contextPath : pageContext.request.contextPath.concat('/') }authorize" method="post">
40+
action="${ config.issuer }${ config.issuer.endsWith('/') ? '' : '/' }authorize" method="post">
4141

4242
<div class="row">
4343
<div class="span5 offset1 well-small" style="text-align: left">

openid-connect-server-webapp/src/main/webapp/WEB-INF/views/approveDevice.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</h1>
3838

3939
<form name="confirmationForm"
40-
action="${pageContext.request.contextPath.endsWith('/') ? pageContext.request.contextPath : pageContext.request.contextPath.concat('/') }device/approve" method="post">
40+
action="${ config.issuer }${ config.issuer.endsWith('/') ? '' : '/' }device/approve" method="post">
4141

4242
<div class="row">
4343
<div class="span5 offset1 well-small" style="text-align: left">

0 commit comments

Comments
 (0)