OAuth2로 Github 로그인 연동
Google 로그인에 이어 이번엔 Github 연동에 대한 글입니다. 전체적인 OAuth2 흐름은 Google 로그인과 크게 다르지 않았습니다.하지만 GitHub은 프로필에 이메일이 기본 제공되지 않아, 추가 처리 로직이 필요합니다. Github 로그인 연동하기1. Github OAuth 앱 생성 GitHub → Settings → Developer settings → OAuth Apps → New OAuth App다음 정보를 입력Application name: 원하는 이름Homepage URLAuthorization callback URL (https://your-domain.com/login/oauth2/code/github) your-domain.com은 배포 도메인이나 개발환경일 경우 local..