Skip to content

Comments

[Feature/#161] - 구글 로그인 추가#163

Merged
alsgud8311 merged 4 commits intodevelopmentfrom
feature/#161
Sep 19, 2025
Merged

[Feature/#161] - 구글 로그인 추가#163
alsgud8311 merged 4 commits intodevelopmentfrom
feature/#161

Conversation

@alsgud8311
Copy link
Contributor

📌 개요

구글 로그인 추가 버전

✅ 작업 내용

  • 구글 로그인 추가
  • 구글 로그인 관련 환경변수 추가

🧪 테스트

  • 직접 테스트 완료

📝 참고 사항

  • 없음

📎 관련 이슈

Closes #161

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @alsgud8311, 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 연동 로직, 관련 환경 변수 설정, 구글 로그인 콜백 페이지 구현, 그리고 로그인 페이지에 구글 로그인 버튼 추가 등의 변경 사항이 포함됩니다.

Highlights

  • 구글 로그인 기능 추가: 사용자 인증 옵션을 확장하기 위해 구글 로그인 기능을 도입했습니다.
  • 구글 로그인 관련 환경 변수 설정: NEXT_PUBLIC_GOOGLE_CLIENT_ID 환경 변수를 Dockerfile, env.d.ts, 그리고 compose 파일에 추가하여 구글 로그인에 필요한 클라이언트 ID를 관리합니다.
  • 구글 로그인 API 연동: /auth/google-login 엔드포인트로 인증 코드를 전송하는 postGoogleAuthorizationCode 함수를 추가하여 백엔드와의 통신을 처리합니다.
  • 구글 로그인 콜백 페이지 구현: apps/client/src/pages/login/google/callback.tsx 파일을 새로 생성하여 구글 로그인 후 리다이렉트되는 콜백을 처리하고, 로그인 성공/실패 시 UI를 제공합니다.
  • 로그인 페이지 UI 업데이트: 기존 로그인 페이지에 구글 로그인 버튼을 추가하여 사용자가 구글 계정으로 로그인할 수 있도록 했습니다.
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

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[bot]

This comment was marked as resolved.

@github-actions
Copy link

🛠️ Build Summary

Status: ✅ SUCCESS
Duration: 56초
Exit Code: 0
Commit: 806f4b1

📋 Build Output (마지막 45줄)

   Generating static pages (2/4) 
   Generating static pages (3/4) 
 ✓ Generating static pages (4/4)
   Finalizing page optimization ...
   Collecting build traces ...

Route (pages)                                 Size  First Load JS
┌ ƒ /                                      79.8 kB         638 kB
├   /_app                                      0 B         308 kB
├ ○ /404 (1411 ms)                         1.78 kB         312 kB
├ ○ /500 (1409 ms)                           757 B         308 kB
├ ƒ /api/auth/logout                           0 B         308 kB
├ ƒ /dashboard                             15.2 kB         634 kB
├ ƒ /interviews                            7.87 kB         346 kB
├ ƒ /interviews/[interviewId]              11.6 kB         604 kB
├ ƒ /interviews/[interviewId]/result       5.46 kB         363 kB
├ ○ /layout (1409 ms)                        541 B         308 kB
├   └ css/2af4d3721e97fa9b.css               280 B
├ ƒ /login                                  2.6 kB         313 kB
├ ƒ /login/callback                           2 kB         333 kB
├ ƒ /login/google/callback                 2.01 kB         333 kB
├ ƒ /login/profile                         11.3 kB         365 kB
├ ƒ /members/[memberId]                    4.16 kB         338 kB
├ ƒ /members/interviews/[interviewId]      6.85 kB         338 kB
├ ƒ /purchase                              8.84 kB         626 kB
├ ƒ /purchase/confirm                      1.76 kB         333 kB
├ ○ /purchase/error (1408 ms)                804 B         311 kB
├ ƒ /terms/privacy                         5.07 kB         336 kB
└ ƒ /terms/termsofuse                      4.48 kB         336 kB
+ First Load JS shared by all               323 kB
  ├ chunks/framework-962931b100bb889b.js   57.6 kB
  ├ chunks/main-f3bc62810aacd04c.js         176 kB
  ├ chunks/pages/_app-c8b8b22867d04788.js  72.4 kB
  ├ css/79b48e54fe6c08c5.css               15.1 kB
  └ other shared chunks (total)            1.89 kB

ƒ Middleware                               96.7 kB

○  (Static)   prerendered as static content
ƒ  (Dynamic)  server-rendered on demand

   Memory usage report:
    - Total time spent in GC: 352.52ms
    - Peak heap usage: 68.21 MB
    - Peak RSS usage: 681.09 MB

🤖 Generated by GitHub Actions at Fri Sep 19 12:08:21 UTC 2025

@github-actions
Copy link

🚀 Lighthouse Report for TEST1

📅 Date: 9/19/2025

Category Score
🔴 Performance 20
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 1.0 s
🔴 Largest Contentful Paint 9 6.5 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST2

📅 Date: 9/19/2025

Category Score
🔴 Performance 36
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 0.9 s
🟠 Largest Contentful Paint 59 3.7 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST3

📅 Date: 9/19/2025

Category Score
🔴 Performance 39
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 0.9 s
🟠 Largest Contentful Paint 73 3.2 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST4

📅 Date: 9/19/2025

Category Score
🔴 Performance 26
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 0.9 s
🔴 Largest Contentful Paint 21 5.3 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST5

📅 Date: 9/19/2025

Category Score
🔴 Performance 26
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 0.9 s
🔴 Largest Contentful Paint 19 5.5 s
🔴 Cumulative Layout Shift 15 0.518

@github-actions
Copy link

🛠️ Build Summary

Status: ✅ SUCCESS
Duration: 57초
Exit Code: 0
Commit: 52532af

📋 Build Output (마지막 45줄)

   Generating static pages (2/4) 
   Generating static pages (3/4) 
 ✓ Generating static pages (4/4)
   Finalizing page optimization ...
   Collecting build traces ...

Route (pages)                                 Size  First Load JS
┌ ƒ /                                      79.8 kB         638 kB
├   /_app                                      0 B         308 kB
├ ○ /404 (1448 ms)                         1.78 kB         312 kB
├ ○ /500 (1446 ms)                           757 B         308 kB
├ ƒ /api/auth/logout                           0 B         308 kB
├ ƒ /dashboard                             15.2 kB         634 kB
├ ƒ /interviews                            7.87 kB         346 kB
├ ƒ /interviews/[interviewId]              11.6 kB         604 kB
├ ƒ /interviews/[interviewId]/result       5.46 kB         363 kB
├ ○ /layout (1446 ms)                        541 B         308 kB
├   └ css/2af4d3721e97fa9b.css               280 B
├ ƒ /login                                  2.6 kB         313 kB
├ ƒ /login/callback                           2 kB         333 kB
├ ƒ /login/google/callback                 2.01 kB         333 kB
├ ƒ /login/profile                         11.3 kB         365 kB
├ ƒ /members/[memberId]                    4.16 kB         338 kB
├ ƒ /members/interviews/[interviewId]      6.85 kB         338 kB
├ ƒ /purchase                              8.84 kB         626 kB
├ ƒ /purchase/confirm                      1.76 kB         333 kB
├ ○ /purchase/error (1445 ms)                804 B         311 kB
├ ƒ /terms/privacy                         5.07 kB         336 kB
└ ƒ /terms/termsofuse                      4.48 kB         336 kB
+ First Load JS shared by all               323 kB
  ├ chunks/framework-962931b100bb889b.js   57.6 kB
  ├ chunks/main-e09c0679c88afa91.js         176 kB
  ├ chunks/pages/_app-c8b8b22867d04788.js  72.4 kB
  ├ css/79b48e54fe6c08c5.css               15.1 kB
  └ other shared chunks (total)            1.89 kB

ƒ Middleware                               96.7 kB

○  (Static)   prerendered as static content
ƒ  (Dynamic)  server-rendered on demand

   Memory usage report:
    - Total time spent in GC: 352.87ms
    - Peak heap usage: 68.31 MB
    - Peak RSS usage: 687.42 MB

🤖 Generated by GitHub Actions at Fri Sep 19 12:17:29 UTC 2025

@github-actions
Copy link

🛠️ Build Summary

Status: ✅ SUCCESS
Duration: 57초
Exit Code: 0
Commit: babc9f0

📋 Build Output (마지막 45줄)

   Generating static pages (2/4) 
   Generating static pages (3/4) 
 ✓ Generating static pages (4/4)
   Finalizing page optimization ...
   Collecting build traces ...

Route (pages)                                 Size  First Load JS
┌ ƒ /                                      79.8 kB         638 kB
├   /_app                                      0 B         308 kB
├ ○ /404 (1352 ms)                         1.78 kB         312 kB
├ ○ /500 (1350 ms)                           757 B         308 kB
├ ƒ /api/auth/logout                           0 B         308 kB
├ ƒ /dashboard                             15.2 kB         634 kB
├ ƒ /interviews                            7.87 kB         346 kB
├ ƒ /interviews/[interviewId]              11.6 kB         604 kB
├ ƒ /interviews/[interviewId]/result       5.46 kB         363 kB
├ ○ /layout (1350 ms)                        541 B         308 kB
├   └ css/2af4d3721e97fa9b.css               280 B
├ ƒ /login                                  2.6 kB         313 kB
├ ƒ /login/callback                           2 kB         333 kB
├ ƒ /login/google/callback                    2 kB         333 kB
├ ƒ /login/profile                         11.3 kB         365 kB
├ ƒ /members/[memberId]                    4.16 kB         338 kB
├ ƒ /members/interviews/[interviewId]      6.85 kB         338 kB
├ ƒ /purchase                              8.84 kB         626 kB
├ ƒ /purchase/confirm                      1.76 kB         333 kB
├ ○ /purchase/error (1350 ms)                804 B         311 kB
├ ƒ /terms/privacy                         5.07 kB         336 kB
└ ƒ /terms/termsofuse                      4.48 kB         336 kB
+ First Load JS shared by all               323 kB
  ├ chunks/framework-962931b100bb889b.js   57.6 kB
  ├ chunks/main-756624d9c735f00e.js         176 kB
  ├ chunks/pages/_app-c8b8b22867d04788.js  72.4 kB
  ├ css/79b48e54fe6c08c5.css               15.1 kB
  └ other shared chunks (total)            1.89 kB

ƒ Middleware                               96.7 kB

○  (Static)   prerendered as static content
ƒ  (Dynamic)  server-rendered on demand

   Memory usage report:
    - Total time spent in GC: 383.03ms
    - Peak heap usage: 68.16 MB
    - Peak RSS usage: 681.39 MB

🤖 Generated by GitHub Actions at Fri Sep 19 12:18:02 UTC 2025

@alsgud8311 alsgud8311 merged commit 7259b23 into development Sep 19, 2025
4 checks passed
@github-actions
Copy link

🚀 Lighthouse Report for TEST1

📅 Date: 9/19/2025

Category Score
🔴 Performance 20
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 1.0 s
🔴 Largest Contentful Paint 10 6.3 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST2

📅 Date: 9/19/2025

Category Score
🔴 Performance 27
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 0.9 s
🔴 Largest Contentful Paint 26 5.1 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST3

📅 Date: 9/19/2025

Category Score
🔴 Performance 27
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 0.9 s
🔴 Largest Contentful Paint 23 5.2 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST4

📅 Date: 9/19/2025

Category Score
🔴 Performance 26
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 0.9 s
🔴 Largest Contentful Paint 18 5.5 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST5

📅 Date: 9/19/2025

Category Score
🔴 Performance 25
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 0.9 s
🔴 Largest Contentful Paint 20 5.4 s
🔴 Cumulative Layout Shift 15 0.518

@github-actions
Copy link

🚀 Lighthouse Report for TEST1

📅 Date: 9/19/2025

Category Score
🔴 Performance 24
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 1.0 s
🔴 Largest Contentful Paint 19 5.5 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST2

📅 Date: 9/19/2025

Category Score
🔴 Performance 25
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 0.9 s
🔴 Largest Contentful Paint 16 5.7 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST3

📅 Date: 9/19/2025

Category Score
🔴 Performance 26
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 1.0 s
🔴 Largest Contentful Paint 20 5.4 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST4

📅 Date: 9/19/2025

Category Score
🔴 Performance 27
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 0.9 s
🔴 Largest Contentful Paint 20 5.4 s
🔴 Cumulative Layout Shift 15 0.518

🚀 Lighthouse Report for TEST5

📅 Date: 9/19/2025

Category Score
🔴 Performance 27
🟢 Accessibility 96
🟢 Best Practices 96
🟢 SEO 100

📊 Performance Details

Metric Score Value
🟢 First Contentful Paint 100 0.9 s
🔴 Largest Contentful Paint 22 5.3 s
🔴 Cumulative Layout Shift 15 0.518

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.

[Feature] 구글 로그인 추가

1 participant