Skip to content

feat: 웹 전용 HttpOnly 쿠키 인증 추가 - #2425

Draft
taejinn wants to merge 3 commits into
developfrom
feat/2424-web-httponly-auth
Draft

feat: 웹 전용 HttpOnly 쿠키 인증 추가#2425
taejinn wants to merge 3 commits into
developfrom
feat/2424-web-httponly-auth

Conversation

@taejinn

@taejinn taejinn commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

🔍 개요

  • 웹 전용 HttpOnly 쿠키 인증을 추가했습니다.

🚀 주요 변경 내용

  • 웹 로그인·토큰 재발급·로그아웃·CSRF 토큰 조회 API를 추가했습니다.
  • access·refresh 쿠키를 분리하고 CSRF 토큰 및 허용 출처 검증을 적용했습니다.
  • Redis 웹 세션과 refresh 회전, 동시 갱신·로그아웃 처리를 추가했습니다.
  • 기존 유저 로그인 그룹에 Swagger 명세와 인증 회귀 테스트를 추가했습니다.

💬 참고 사항

  • Android/iOS의 기존 JSON 토큰 응답과 Bearer 인증은 유지합니다.
  • 웹은 credentials 설정과 쿠키 인증의 상태 변경 요청에 X-CSRF-Token 처리가 필요합니다. SSR·웹뷰 연동은 별도입니다.
  • 웹 인증 관련 테스트 106개 통과. DB 마이그레이션은 없습니다.

✅ Checklist (완료 조건)

  • 코드 스타일 가이드 준수
  • 테스트 코드 포함됨
  • Reviewers / Assignees / Labels 지정 완료
  • 보안 및 민감 정보 검증 (API 키, 환경 변수, 개인정보 등)

@taejinn taejinn added 기능 새로운 기능을 개발합니다. Team User 유저 팀에서 작업할 이슈입니다 labels Sep 10, 2026
@taejinn taejinn self-assigned this Sep 10, 2026
@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Unit Test Results

1 255 tests   1 252 ✔️  2m 53s ⏱️
   270 suites         3 💤
   270 files           0

Results for commit 8defd80.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team User 유저 팀에서 작업할 이슈입니다 기능 새로운 기능을 개발합니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[유저] 웹 전용 HttpOnly 쿠키 인증 및 CSRF 보호 구현

2 participants