Skip to content

Conversation

@LeeTaegyung
Copy link
Collaborator

작업내역

  • 토큰 저장 방식 변경 : 로컬스토리지 → httpOnly쿠키
  • axios interceptor
    • apiClient 엔드포인트 변경 : 라우트 핸들러 엔드포인트로 설정
    • 토큰 주입과 토큰 재발급 기능 삭제 : 해당 기능은 라우트 핸들러(/api/proxy)에서 실행되도록 설정
  • 로그아웃 처리
    • 서버액션을 이용해서 리프레시 토큰을 삭제하던 작업을 라우트 핸들러를 통해 httpOnly 쿠키를 삭제하도록 수정
    • 커스텀훅을 이용하여 라우팅 기능을 window.location.href → useRouter() 로 수정
  • 리다이렉트 : AuthProvider에서 담당하던 기능을 middleware로 분리

전달사항

  • 변경을 하고 나니, 유저 정보를 전역에서 관리하고 있지 않고 리액트 쿼리로만 캐싱해서 관리중이라 다음 PR에서 zustand로 관리할 수 있도록 수정할 예정입니다.

@LeeTaegyung LeeTaegyung self-assigned this Dec 16, 2025
@vercel
Copy link

vercel bot commented Dec 16, 2025

@LeeTaegyung is attempting to deploy a commit to the Hong's projects Team on Vercel.

A member of the Team first needs to authorize it.

@LeeTaegyung LeeTaegyung assigned hong0121 and unassigned hong0121 Dec 16, 2025
@LeeTaegyung LeeTaegyung merged commit 5c978dc into hong0121:dev Dec 18, 2025
1 of 2 checks 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.

4 participants