spring-security
2factor 인증
張's blog
2024. 10. 15. 23:02
-2factor 인증로직
https://barisein.tistory.com/m/554
Spring Boot Security 2Factor 인증 로직
ID/Password 인증이 성공하면, SimpleUrlAuthenticationSuccessHandler를 상속받은 클래스에서 추가 인증 페이지로 이동만약 2Factor 인증 대상이 아니면, 바로 로그인여부를 true로 설정2Factor 인증 대상인 경우, 2
barisein.tistory.com
https://velog.io/@ji-jjang/Spring-Security-apply-two-factor-auth-filter
Spring Security 2단계 인증 적용하기
현재 인증 로직은 위와 같다. 2차 인증 필터를 적용해서 사용자가 Totp인증을 활성화한 경우 로그인 후 Totp 인증을 진행하고, 새로운 IP에서 로그인했을 때는 이메일 추가 인증을 진행하는 기능을
velog.io