Skip to content

main으로 develop의 최신 변경 내용 머지#43

Merged
ZaMan0806 merged 1 commit into
mainfrom
develop
Dec 28, 2025
Merged

main으로 develop의 최신 변경 내용 머지#43
ZaMan0806 merged 1 commit into
mainfrom
develop

Conversation

@ZaMan0806

Copy link
Copy Markdown
Collaborator

No description provided.

@ZaMan0806 ZaMan0806 self-assigned this Dec 28, 2025
@ZaMan0806 ZaMan0806 merged commit 96c6698 into main Dec 28, 2025
2 checks passed
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @ZaMan-O, 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은 develop 브랜치의 최신 변경 사항을 main 브랜치로 병합합니다. 주요 기능 변경 사항은 JWT 인증 필터에 새로운 /api/v1/auth/signup/inform 엔드포인트에 대한 인증되지 않은 접근을 허용하도록 업데이트한 것으로, 이는 사용자 등록과 관련된 것으로 보입니다. 또한, 사소한 코드 스타일 조정도 포함되어 있습니다.

Highlights

  • JWT 필터 우회 경로 추가: JWT 인증 필터에서 /api/v1/auth/signup/inform 경로를 인증 없이 접근할 수 있도록 shouldNotFilter 메서드에 추가했습니다.
  • 코드 스타일 개선: OPTIONS 메서드 확인 조건문의 공백을 조정하여 코드 가독성을 향상시켰습니다.

🧠 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.

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

이 PR은 develop 브랜치의 최신 변경 사항을 main으로 병합하는 과정에서 몇 가지 추가적인 수정을 포함하고 있습니다. JwtHeaderFilter에 새로운 경로를 추가하는 변경 사항이 있는데, 이는 인증이 필요한 API에 대한 JWT 토큰 처리를 건너뛰게 만들어 잠재적으로 런타임 오류를 발생시킬 수 있는 심각한 문제입니다. 해당 경로가 필터링되도록 수정이 필요합니다. 또한, 코드 스타일을 일관성 있게 수정하는 작은 변경도 포함되어 있습니다.

Comment on lines +88 to +89
|| uri.startsWith("/api/v1/auth/kakao")
|| uri.startsWith("/api/v1/auth/signup/inform")) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

/api/v1/auth/signup/inform 경로가 JWT 필터링에서 제외되는 경로 목록에 추가되었습니다. 하지만 해당 경로를 처리하는 UserController.information() 메소드는 authUtils.getCurrentUserId()를 호출하여 현재 사용자 ID를 가져오는데, 이는 사용자가 인증되어 있어야만 가능합니다.

이 경로를 필터에서 제외하면 JWT 토큰이 처리되지 않아 SecurityContext에 사용자 인증 정보가 채워지지 않습니다. 결과적으로 authUtils.getCurrentUserId() 호출 시 NullPointerException이나 인증 오류가 발생하여 해당 기능이 올바르게 동작하지 않을 가능성이 높습니다.

이 경로는 인증이 필요하므로, JWT가 올바르게 처리될 수 있도록 shouldNotFilter 로직에서 제거해야 합니다.

                || uri.startsWith("/api/v1/auth/kakao")) {

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