-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 카카오톡 로그인 구현 #56
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
Conversation
# Conflicts: # build.gradle # src/main/java/kr/kro/photoliner/domain/user/model/User.java # src/main/java/kr/kro/photoliner/domain/user/repository/UserRepository.java
# Conflicts: # build.gradle # src/main/java/kr/kro/photoliner/domain/album/controller/AlbumController.java # src/main/java/kr/kro/photoliner/domain/photo/controller/PhotoController.java # src/main/java/kr/kro/photoliner/domain/photo/service/PhotoService.java # src/main/resources/application-local-example.yml
| @Value("${jwt.secret-key}") String secretKey, | ||
| @Value("${jwt.access-token.expiration-time}") Long accessTokenExpirationTime |
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.
application-dev.yml 파일에 설정해야합니다!
| // WebClient | ||
| implementation 'org.springframework.boot:spring-boot-starter-webflux' |
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.
RestClient 대안도 존재하는데 무거운 웹플럭스 사용하신 이유가 궁금합니다!
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.
찾아보니 webflux는 스프링부트 개발환경에 적합하지 않다고 나오네요..
추후 시간이 된다면 RestClient 로 변경해 보겠습니다!
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.
webflux, RestClient 각 기술이 가진 장단점을 비교분석 후 선택했으면 더 좋지 않았을까 싶네요👍
📌 ISSUE 번호
📄 작업 내용 요약
카카오 로그인
/api/v1/users/login/kakao엔드포인트 호출6 (등록되지 않은 경우) 사용자의 email을 바탕으로 사용자를 DB에 등록
AccessToken생성AccessToken이 fragement로 포함된 리다이렉트 URL을 반환하여 클라이언트에게 응답JWT 인증
refreshToken을 사용하지 않는 대신accessToken의 유효 시간을 길게 설정ArgumentResolver를 사용하여accessToken검증과 사용자 Id 를 가져오도록 함📢 참고 사항
✅ 체크리스트