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

[BE] issue50: 로그인 기능 구현 #76

Merged
merged 22 commits into from
Jul 19, 2022
Merged

[BE] issue50: 로그인 기능 구현 #76

merged 22 commits into from
Jul 19, 2022

Conversation

verus-j
Copy link
Collaborator

@verus-j verus-j commented Jul 18, 2022

요약

로그인 기능을 구현한다.

세부사항

OAuth 2.0을 통해 로그인 기능을 구현한다.

  1. github client에게 ahtorization code를 받고, 이를 통해 access token을 요청한다.
  2. access token을 통해 사용자 profile 정보를 받는다.
  3. 받아 온 정보를 사용자 프로필 정보를 DB에 저장한다.
    • 존재하는 사용자면 정보를 update하고, 신규 사용자면 save한다.
  4. 사용자 정보(github id)를 사용하여 JWT를 발급한다.

구현하며 겪은 고민 공유
동작 흐름

close #50

@verus-j verus-j changed the title Feat/50 login [BE] issue50: 로그인 기능 구현 Jul 18, 2022
@verus-j verus-j added 🚀 feature New feature or request 🖥 backend New backend feature labels Jul 18, 2022
@verus-j verus-j added this to the Milestone 2 milestone Jul 18, 2022
@verus-j verus-j requested a review from tco0427 July 18, 2022 16:42
Copy link
Collaborator

@tco0427 tco0427 left a comment

Choose a reason for hiding this comment

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

좀 하네요..???😃

@jaejae-yoo jaejae-yoo merged commit d516a7b into develop Jul 19, 2022
@jaejae-yoo jaejae-yoo deleted the feat/50-login branch July 19, 2022 05:05
@jaejae-yoo jaejae-yoo restored the feat/50-login branch July 19, 2022 05:05
@jaejae-yoo jaejae-yoo deleted the feat/50-login branch July 19, 2022 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖥 backend New backend feature 🚀 feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants