Skip to content
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: 로그인 방식 개선 #29

Merged
merged 21 commits into from
Jan 13, 2025
Merged

Feat: 로그인 방식 개선 #29

merged 21 commits into from
Jan 13, 2025

Conversation

BinarySstar
Copy link
Collaborator

📄 개요

  • 프론트엔드 마이그레이션(웹 -> 네이티브 앱)에 따른 로그인 방식 개선

✅ 작업 내용

  • JWT 생성을 위한 Java JWT 도입
  • JWT 토큰 검증을 위한 OAuth2 Resource Server 도입
  • Kakao Access Token을 기반으로 하여 JWT 생성
  • 토큰 내 sub로 프로필 정보 조회

🚀 이슈 번호 : #27

- Token 요청 시 POST 메소드를 이용
- 기존 카카오 controller와 service 클래스 삭제

resolve : #27
- 패키지 이름 auth -> oauth2 수정
- 카카오 인증 서버 프로필 정보 요청 성공
- DB 반영

resolve : #27
- Filter 이름 변경
- Jwt 검증 로직 변경

resolve : #27
- JWT 생성 구현
- Claims(Payload), 검증, 조회 미구현

resolve : #27
- 토큰 생성, 조회, 검증 구현

resolve : #27
- success handler 추가

resolve : #27
- JWT 토큰 생성, 검증을 위한 dependency 추가

resolve : #27
- 필요 없는 service 메소드 삭제
- 필요 없는 JPA 메소드 삭제
- 필요 없는 속성 삭제

resolve : #27
@BinarySstar BinarySstar linked an issue Jan 13, 2025 that may be closed by this pull request
@BinarySstar BinarySstar merged commit fb08784 into master Jan 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

로그인 기능 refactoring 필요
1 participant