добавлен пример для GitHub
This commit is contained in:
18
github/src/main/resources/templates/index.html
Normal file
18
github/src/main/resources/templates/index.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru"
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:th="https://www.thymeleaf.org">
|
||||
<head>
|
||||
<title>GitHub OAuth2 Example</title>
|
||||
<link rel="icon" href="data:;base64,=">
|
||||
</head>
|
||||
<body>
|
||||
<h1>GitHub OAuth2 Example</h1>
|
||||
<hr>
|
||||
<p>
|
||||
Home public page<br>
|
||||
---> <a th:href="@{/secret}">Secret Page</a> <---<br>
|
||||
[ <a th:href="@{/oauth2/authorization/github}">Login GitHub</a> ]
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user