JD-254: Fix Creq (#102)

This commit is contained in:
malkoas 2021-05-21 12:29:29 +03:00 committed by GitHub
parent 5970b8bc70
commit c9e08c39e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ public class CallbackResponseWithTemplateCreator {
try {
return processTemplateIntoString(freemarkerConfiguration.getTemplate(TEMPLATE), Map.of(
ACS_URL, acsUrl,
CRES, creq,
CREQ, creq,
TERM_URL, acsTermUrl
)).getBytes();
} catch (IOException | TemplateException e) {

View File

@ -6,7 +6,7 @@
</head>
<body onload=OnLoadEvent();>
<form action="${acsUrl}" METHOD="post" target="_self">
<input name="cres" type="hidden" value="${cres}">
<input name="creq" type="hidden" value="${creq}">
<input name="TermUrl" type="hidden" value="${TermUrl}">
<script>function OnLoadEvent() {document.forms[0].submit();}</script>
</form>