OAuth2 Login- AuthenticationSuccessHandler
·
Issues
이슈 OAuth2 로그인 과정에서, authentication을 이용해 jwt를 만들어서 response-header에 전달해주기 위해 AuthenticationSuccessHandler을 상속 받은 클래스를 커스텀해서 successHandler로 등록했다. @Component @RequiredArgsConstructor public class OAuth2SuccessHandler implements AuthenticationSuccessHandler, AuthenticationFailureHandler { private final JWTUtil jwtUtil; @Override public void onAuthenticationSuccess(HttpServletRequest request, HttpS..