codestates / codestates/nagaza-server
[Task] Google 소셜로그인 권한 부여(Optional)
Open
E:3h
server
U:Middle
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### ISSUE
- Group : `server`
- Type : 'bug', 'feature', 'delete'
- Detail : `OAuth2`
### TODO
1. [ ] `dotenv` & `axios` require
2. [ ] Client ID, Client Secret 변수 설정 `const clientId = process.env.${소셜페이지}_CLIENT_ID` , SECRET도 마찬가지
3. [ ] client로부터 받은 authorizationCode를 이용해 Authorization Server(ex. Google, Kakao)에 accessToken 발급받기 위해 POST 요청 보냄
4. [ ] 성공했다면 `.then((data) => res.status(200).send({ accessToken : data.data.accessToken })`
### OPTIONAL
4. [ ] Redirect URI 발급
5. [ ] 사용자 Client 연동 해제
### Estimated time
3h
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.