-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat : OAuth2.0 카카오 로그인 & JWT 인증 구현 #18
Conversation
public Member(String name, String email, String phoneNumber, Gender gender, | ||
LocalDate dateBirth) { | ||
this.name = name; | ||
this.email = email; | ||
this.phoneNumber = phoneNumber; | ||
this.gender = gender; | ||
this.dateBirth = dateBirth; | ||
this.notification_activated = notification_activated; | ||
this.notification_activated = true; | ||
this.role = Role.MEMBER; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저희 회원 생성시에 알림 활성화는 항상 true로 생성되나요??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
기존 회원가입 시, 알림 활성화가 될거라 혼자 판단했는데 한번 스크럼 때 말해보는게 좋겠군요..!!
SessionCreationPolicy.STATELESS)) | ||
.formLogin(AbstractHttpConfigurer::disable) | ||
.authorizeHttpRequests(authorization -> authorization | ||
.requestMatchers(new AntPathRequestMatcher("/**")).permitAll() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분 나중에 url 여러개 넣을 때 위에 문자열 배열로 빼서 거기에다 url 정의해놓아도 좋을 것 같습니다!
src/main/java/com/prgrms/catchtable/security/dto/OAuthAttribute.java
Outdated
Show resolved
Hide resolved
} else { | ||
throw new UsernameNotFoundException("Please Login again"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Security 필터내에서 예외를 던지면 이 예외가 인식이 되나요??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
예외 필터를 따로 구현 후, 앞단에 두어 처리해야합니다..!! 추가 후 리뷰요청 날리겠습니다~!
리뷰 달았습니다! 로그인 실패 처리랑 테스트 코드만 추가되면 될 것 같습니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
인증 로직 구현하느라 수고 많으셨습니다~!
closed #8
⛏ 작업 상세 내용
📝 작업 요약
☑️ 중점적으로 리뷰 할 부분