implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-security'
settings ➡️ developer-settings ➡️ OAuth application settings ➡️ new application 등록
application.properties
에서 리팩터링➡️rename➡️ application.yml
하면 yml파일로 설정바뀜
spring:
security:
oauth2:
client:
registration:
github:
client-id: 클라이언트 ID
client-secret: 클라이언트 Secret