Skip to content

로그아웃 구현#185

Open
Goder-0 wants to merge 1 commit intomainfrom
feature/#183-add-logout
Open

로그아웃 구현#185
Goder-0 wants to merge 1 commit intomainfrom
feature/#183-add-logout

Conversation

@Goder-0
Copy link
Contributor

@Goder-0 Goder-0 commented Mar 1, 2026

관련 이슈

PR 설명

Overview

  • 로그아웃 엔드포인트 추가 및 Redis 리프레시 토큰 무효화
  • 회원 API 중 signup/login 제외하고 인증 필요하도록 변경

Changes

  • POST /v1/member/logout 추가 및 쿠키 만료 처리
  • 로그아웃 시 refresh token 삭제
  • 보안 설정에서 /v1/member/signup, /v1/member/login만 permit
  • MemberServiceTest에 로그아웃 테스트 추가

Testing

  • ./gradlew test --tests com.sofa.linkiving.domain.member.service.MemberServiceTest

Invalidate refresh token in Redis and expire auth cookies.
Require auth for member APIs except signup/login.
@Goder-0 Goder-0 linked an issue Mar 1, 2026 that may be closed by this pull request
@Goder-0 Goder-0 changed the title feat: add logout endpoint (#183) 로그아웃 구현 Mar 1, 2026
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.

refresh token 무효화 API 추가

1 participant