Skip to content

Instantly share code, notes, and snippets.

@yamabicodev
Created December 20, 2020 02:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yamabicodev/a0f7a6e0966c75c147b6db1079fd7371 to your computer and use it in GitHub Desktop.
Save yamabicodev/a0f7a6e0966c75c147b6db1079fd7371 to your computer and use it in GitHub Desktop.
SpringSecurity5 OAuth2 Client Sample
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.security:spring-security-oauth2-client'
// OpenID Connect JWT用
implementation 'org.springframework.security:spring-security-oauth2-jose'
// 任意:ThymeleafとSpringSecurityを組み合わせたい場合
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment