정상화·2023년 4월 3일
0

TIL

목록 보기
22/46
post-thumbnail

OAuth

oauth 프레임워크 의존성을 추가만 해줘도 oauth에대한 요청이 처리 가능함

1. 의존성

implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' // 카카오 로그인, 구글 로그인, 네이버 로그인

2. .yml

security:
    oauth2:
      client:
        registration:
          kakao:

이제 /oauth2/authorization/kakao에 대한 요청처리가 가능해진다.

profile
백엔드 희망

0개의 댓글