Skip to content

Feat/week4#34

Open
yuyeol3 wants to merge 5 commits intoApptiveDev:최유렬from
yuyeol3:main
Open

Feat/week4#34
yuyeol3 wants to merge 5 commits intoApptiveDev:최유렬from
yuyeol3:main

Conversation

@yuyeol3
Copy link
Copy Markdown

@yuyeol3 yuyeol3 commented Dec 3, 2025

변경점 👍

  • JWT 기반 인증/인가 구현 (Interceptor 기반)
    • 로그인을 통한 인증
    • 소유권 확인 및 소유자만 자원 수정/삭제 가능하도록 구현 (인가)
      • OwnableEntity 인터페이스 생성 및 이용
  • RefreshToken 구현

버그 해결 💊

  • 팔로우 등록 및 삭제 시 팔로우하는 사람과 팔로우 대상이 거꾸로 되어있던 버그 수정
  • 자기 자신을 팔로우할 수 있던 문제 수정

테스트 💻

  • 단위 테스트 수행

스크린샷 🖼

  • 로그인 후 클라이언트에 access token과 refresh token 전달
image
{
    "data": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyMSIsImlhdCI6MTc2NDc2NTgwNCwiZXhwIjoxNzY0NzY2NzA0fQ.OrNHxY9s_dPlUzd4BFy1mcoIkNRpClKwMxtwy6AQQts"
}
  • refresh token과 함께 /auth로 요청시 access token 재발급
image

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.

1 participant