-
Notifications
You must be signed in to change notification settings - Fork 8
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
OAuth 회원가입 구현 #903
Comments
회원가입을 구현할 때 고려해야 하는 것은 다음과 같습니다.
고려하지 않은 것은 다음과 같습니다.
|
DB에 저장할 OAuth 계정 식별값에 대해OAuth 로 받아올 수 있는 회원 정보 응답 형식은 다음과 같습니다. {
"login": "octocat",
"id": 1,
"node_id": "MDQ6VXNlcjE=",
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"gravatar_id": "",
"url": "https://api.github.com/users/octocat",
"html_url": "https://github.com/octocat",
"followers_url": "https://api.github.com/users/octocat/followers",
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
"organizations_url": "https://api.github.com/users/octocat/orgs",
"repos_url": "https://api.github.com/users/octocat/repos",
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
"received_events_url": "https://api.github.com/users/octocat/received_events",
"type": "User",
"site_admin": false,
"name": "monalisa octocat",
"company": "GitHub",
"blog": "https://github.com/blog",
"location": "San Francisco",
"email": "[email protected]",
"hireable": false,
"bio": "There once was...",
"twitter_username": "monatheoctocat",
"public_repos": 2,
"public_gists": 1,
"followers": 20,
"following": 0,
"created_at": "2008-01-14T04:33:35Z",
"updated_at": "2008-01-14T04:33:35Z"
} [GitHub Docs] / 사용자에 대한 REST API 엔드포인트 - Get the authenticated user 아쉽게도, 응답 필드에 대한 설명은 공식문서에서 찾을 수 없었습니다. adot 을 이용한 GitHub의 답변을 참고해 주요 필드에 대한 설명을 남겨둡니다.
|
회원가입 플로우
실제 요청 플로우
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gitHub OAuth로 회원가입을 진행합니다.
The text was updated successfully, but these errors were encountered: