增加前后端分离的单点登录样例工程web-sso
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<meta content="text/html;charset=UTF-8">
|
||||
<title>SSO单点登录demo</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p>登录者: <span th:text="${username}"></span></p>
|
||||
<p>权限: <span th:text="${authorities}"></span></p>
|
||||
<p>应用id: <span th:text="${clientId}"></span></p>
|
||||
<p>token: <span th:text="${token}"></span></p>
|
||||
<p><input type="button" value="登出" onclick="location='/logout'"/></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user