Skip to content

Conversation

@wonyong-park
Copy link
Member

@wonyong-park wonyong-park commented Dec 29, 2025

간단한 설명

소셜로그인 로그인 사용자 취소 시 토스트/에러 로깅 제외한 PR입니다.

@gemini-code-assist
Copy link

Summary of Changes

Hello @wonyong-park, 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은 소셜 로그인 과정에서 사용자가 직접 로그인을 취소했을 때 발생하는 예외를 더 세밀하게 처리하도록 개선합니다. 기존에는 사용자 취소도 일반적인 로그인 실패로 간주하여 에러 메시지를 표시하거나 로깅했지만, 이제는 LoginCanceledException을 통해 사용자 취소 상황을 명확히 구분하여 불필요한 에러 알림 및 로깅을 방지합니다. 이는 사용자 경험을 향상시키고 에러 로그의 노이즈를 줄이는 데 기여합니다.

Highlights

  • 새로운 예외 처리 클래스 추가: 사용자에 의한 로그인 취소를 명확하게 구분하기 위한 LoginCanceledException 클래스가 추가되었습니다.
  • 소셜 로그인 API 예외 처리 개선: Google, Kakao, Apple 등 다양한 소셜 로그인 제공자의 로그인 취소 상황에서 LoginCanceledException을 발생시키도록 OAuthAPIImpl의 예외 처리 로직이 업데이트되었습니다.
  • 로그인 취소 시 UI/로깅 처리 제외: 로그인 제공자에서 LoginCanceledException이 발생할 경우, 사용자에게 불필요한 에러 토스트 메시지를 표시하거나 Crashlytics에 에러를 로깅하지 않도록 SignIn 프로바이더의 로직이 수정되었습니다.
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

소셜 로그인 취소 시 예외 처리를 위한 변경 사항 잘 보았습니다. LoginCanceledException을 새로 정의하여 각 소셜 로그인 API에서 사용자가 로그인을 취소했을 때 이 예외를 발생시키도록 수정한 점이 좋습니다. 이를 통해 sign_in_provider에서 로그인 취소 상황을 명확히 구분하고, 불필요한 에러 토스트나 크래시 로깅을 방지할 수 있게 되었네요. 전반적으로 목적에 맞게 코드가 잘 수정되었습니다.

Copy link
Member

@MTtankkeo MTtankkeo left a comment

Choose a reason for hiding this comment

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

lgtm

@MTtankkeo MTtankkeo merged commit 318d8a9 into main Dec 29, 2025
1 check passed
@wonyong-park wonyong-park deleted the login-cancel branch December 30, 2025 09:00
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.

3 participants