Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Feat ] 로그인 api를 연동합니다 #253

Merged
merged 7 commits into from
Jan 31, 2025

Conversation

suwonthugger
Copy link
Member

🔥 Related Issues

✅ 작업 리스트

  • 구글 로그인 API 연동
  • accessToken 저장하는 로직 추가
  • ProtectedRouter 적용, 로그인 안하고 홈 온보딩 타이머 접근 시 login 페이지로 리디렉션
  • 토큰 재발급 로직 추가

🔧 작업 내용

  • 구글 로그인을 연동했어요, 구글 로그인 url로 접근해서 로그인하면 /auth/redirect 페이지로 리다이렉션 돼요. 이 때 rtk는 http only cookie를 통해서 전달 받고, query parameter에서 accessToken을 받아 local storage에 저장해요.
  • 이후 query parameter isSignUp 값을 통해서 ture일 경우 홈으로, false 의 경우 온보딩 페이지로 이동해요
  • V2 인증관련 API 함수를 모두 작성해두었어요. 이 때 로그아웃 같은 경우는 홈이나 여러 다른 상황에서 쓰여서 점차 구현해 나가면서 함수를 적용하려고 해요

🧐 새로 알게된 점

🤔 궁금한 점

📸 스크린샷 / GIF / Link

default.mov

@suwonthugger suwonthugger added the ✨ Feature 기능 개발 label Jan 31, 2025
@suwonthugger suwonthugger self-assigned this Jan 31, 2025
@suwonthugger suwonthugger merged commit 77da498 into develop Jan 31, 2025
1 check failed
@suwonthugger suwonthugger deleted the feat/#252/component-structure branch January 31, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ Feat ] V2 api 연동 및 연동전 수정 사항 반영 (현재 V2 서버 배포 완료)
1 participant