Skip to content

Conversation

@aahreum
Copy link
Member

@aahreum aahreum commented Jan 1, 2026

✅ PR 체크리스트

1. 코드 & 기능

  • 변수/함수 이름 이해 가능한지
  • 기능 정상 동작 & 콘솔 에러 없음

2. UI

  • UI 동작 및 레이아웃 확인

3. 컨벤션

  • 팀 컨벤션에 맞게 함수 이름을 정의했는지

🔗 이슈 번호

✨ 작업한 내용

image
  • 로그아웃 api 구현했습니다!
  • 별도로 로그아웃 api를 제공해주지 않아서 로그인 시 저장한 사용자 쿠키를 제거하는 방향으로 구현했습니다!

💁 리뷰 요청 / 코멘트

  • 수정사항 있으시면 말씀해주세요!

💡 참고사항

@aahreum aahreum self-assigned this Jan 1, 2026
@aahreum aahreum added ✨ Feature: 새기능 새로운 기능 개발 아름 labels Jan 1, 2026
@vercel
Copy link

vercel bot commented Jan 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
global-nomad Ready Ready Preview, Comment Jan 1, 2026 3:44pm

@gemini-code-assist
Copy link

Summary of Changes

Hello @aahreum, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 사용자의 로그아웃 기능을 구현하기 위해 새로운 API 엔드포인트를 추가합니다. 이 API는 서버 측에서 HttpOnly 쿠키에 저장된 인증 토큰을 안전하게 제거하여 사용자 세션을 종료하며, 클라이언트 측에서 별도의 토큰 관리 없이 로그아웃을 처리할 수 있도록 합니다.

Highlights

  • 로그아웃 API 구현: 인증된 사용자의 로그아웃을 처리하는 새로운 API 엔드포인트 /api/auth/logout을 추가했습니다.
  • HttpOnly 쿠키 관리: 서버에서 HttpOnly 쿠키에 저장된 accessToken과 refreshToken을 삭제하여 사용자 세션을 종료합니다.
  • 응답 처리: 로그아웃 성공 시 200 상태 코드와 메시지를, 실패 시 500 상태 코드와 메시지를 반환합니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

로그아웃 API 구현을 위한 PR 잘 보았습니다. BFF (Backend-For-Frontend) 패턴을 사용하여 HttpOnly 쿠키를 서버 측에서 제거하는 방식으로 로그아웃을 구현한 점이 좋습니다. 다만, 호출되는 clearAuthTokens 함수의 쿠키 삭제 로직에 치명적인 버그가 있을 가능성이 있어 확인이 필요하며, 에러 핸들링을 개선할 여지가 있어 몇 가지 리뷰 의견을 남깁니다.

Copy link
Contributor

@Jihyun0522 Jihyun0522 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이전에 쿠키와 관련된 코드를 구현해보지 않아서
아름님이 구현해주신 HttpOnly 쿠키를 통한 토큰 삭제 코드를 보면서 많은 공부가 됐습니다!

@aahreum
Copy link
Member Author

aahreum commented Jan 1, 2026

수정 완료했습니다~!!

Copy link
Contributor

@chldntjr1321 chldntjr1321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저장된 쿠키를 제거 방식으로 로그아웃 구현하기 잘 보았습니다!! LGTM👍 수고 많으셨습니다😭👏

Copy link
Contributor

@Jihyun0522 Jihyun0522 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정 확인했습니다!
HttpOnly 쿠키를 통한 토큰 삭제 코드 잘 보았습니다!

@aahreum
Copy link
Member Author

aahreum commented Jan 1, 2026

확인 감사드립니다~!! 바로 머지하겠습니다~!!!

@aahreum aahreum merged commit 7a1f611 into dev Jan 1, 2026
3 checks passed
@aahreum aahreum deleted the feat/128/logout branch January 1, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Feature: 새기능 새로운 기능 개발 아름

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[✨ Feature] 로그아웃 API 구현

4 participants