본문 바로가기
백엔드/Spring(Boot)

스프링 시큐리티 OAuth 2.0

by 김어찐 2022. 3. 17.
728x90

https://loosie.tistory.com/300

 

[Spring] 스프링으로 OAuth2 로그인 구현하기1 - 구글

스프링 시큐리티와 스프링 시큐리티 OAuth2 클라이언트 많은 서비스에서 로그인 기능을 id/password 방식 보다는 써드파티 방식으로 구글, 네이버과 같은 소셜 로그인 기능을 사용한다. 이는 서비스

loosie.tistory.com

참고

 

그대로 따라 했는데 Thread 에러남 (HttpSession) 

빈 등록 후 해결

    @Bean
    public RequestContextListener requestContextListener(){
        return new RequestContextListener();
    }
728x90