diff --git a/src/main/resources/templates/fragments/main.html b/src/main/resources/templates/fragments/main.html new file mode 100644 index 0000000..fe03c82 --- /dev/null +++ b/src/main/resources/templates/fragments/main.html @@ -0,0 +1,31 @@ + + + + + + Fragments + +
+ + +
+ + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html new file mode 100644 index 0000000..22a79fc --- /dev/null +++ b/src/main/resources/templates/login.html @@ -0,0 +1,93 @@ + + + + + + + + + OAuth Login - Spring Security&OAuth2.1 + + + + + + +
+
+ +
+
+ +
+
+ + +
+ +
+
+ +
+ + +
+ +
+
+ +
+ + +
+ + + Access denied !!! + Authentication Failure +
+
+ +
+
+
+ +
+
+

你可以使用以下几个初始的账号进行登录:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
UsernamePasswordRemark
adminadminAll privileges, allow visit [Mobile] and [Unity] resources, manage user
unityunityOnly allow visit [Unity] resource, support grant_type: + authorization_code,refresh_token,implicit
mobilemobileOnly allow visit [Mobile] resource, support grant_type: password,refresh_token
+
+
+ +
+ + \ No newline at end of file