Bladeren bron

Update custom consent page sample

Closes gh-802
wingzero 3 jaren geleden
bovenliggende
commit
d5a57396a4

+ 1 - 1
samples/custom-consent-authorizationserver/src/main/resources/templates/consent.html

@@ -39,7 +39,7 @@
     </div>
     <div class="row">
         <div class="col text-center">
-            <form name="consent_form" method="post" action="/oauth2/authorize">
+            <form name="consent_form" method="post" th:action="@{/oauth2/authorize}">
                 <input type="hidden" name="client_id" th:value="${clientId}">
                 <input type="hidden" name="state" th:value="${state}">