-
-
Save yamabicodev/c88ab8f50f3987612b77fcaaee5d3844 to your computer and use it in GitHub Desktop.
Spring Security Oauth client sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"> | |
<head> | |
<meta charset="utf-8"/> | |
:省略 | |
</head> | |
<body> | |
:省略 | |
<div class="main-wrap"> | |
<div class="login-form"> | |
<h3>ログイン</h3> | |
<div class="login-button"> | |
<!-- リンク先を「/oauth2/authorization/{registration ID}」にすること --> | |
<a th:href="@{/oauth2/authorization/github}"> | |
<span><i class="fab fa-github"></i>GitHubでログイン</span> | |
</a> | |
</div> | |
</div> | |
</div> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment