mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-08 09:58:56 +08:00
Update jwt_sso_submint.ftl
This commit is contained in:
parent
962728008f
commit
3799120753
@ -3,9 +3,15 @@
|
|||||||
<head>
|
<head>
|
||||||
<#include "authorize_common.ftl">
|
<#include "authorize_common.ftl">
|
||||||
<title>JWT Single Sign-On</title>
|
<title>JWT Single Sign-On</title>
|
||||||
|
<#if 'get'==tokenType>
|
||||||
|
<script type="text/javascript">
|
||||||
|
window.top.location.href ="${action}?${jwtName}=${token}";
|
||||||
|
</script>
|
||||||
|
</#if>
|
||||||
</head>
|
</head>
|
||||||
|
<#if 'post'==tokenType>
|
||||||
<body onload="document.forms[0].submit()" style="display:none">
|
<body onload="document.forms[0].submit()" style="display:none">
|
||||||
|
|
||||||
<form id="jwt_sso_form" name="jwt_sso_form" action="${action}" method="${tokenType}">
|
<form id="jwt_sso_form" name="jwt_sso_form" action="${action}" method="${tokenType}">
|
||||||
<table style="width:100%">
|
<table style="width:100%">
|
||||||
<tr>
|
<tr>
|
||||||
@ -18,4 +24,5 @@
|
|||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</body>
|
</body>
|
||||||
|
</#if>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user