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

[Common] 로그인/로그아웃 기능 구현 #20

Closed
3 tasks done
reesekimm opened this issue Oct 12, 2020 · 0 comments
Closed
3 tasks done

[Common] 로그인/로그아웃 기능 구현 #20

reesekimm opened this issue Oct 12, 2020 · 0 comments
Labels
🌏 Common Common feature related to both front-end and back-end 📦 Feature New feature
Milestone

Comments

@reesekimm
Copy link
Owner

reesekimm commented Oct 12, 2020

설명

Github 로그인 기능 구현

구현 상세

  • (FE) 로그인 안내 modal 추가
  • (FE) 로그아웃 slice, saga 추가
  • (BE) passport.js Github OAuth
@reesekimm reesekimm added 📦 Feature New feature 🌏 Common Common feature related to both front-end and back-end labels Oct 12, 2020
@reesekimm reesekimm added this to the Week 6 milestone Oct 12, 2020
@reesekimm reesekimm changed the title [Common] 회원가입/로그인 기능 구현 [Common] 로그인 기능 구현 Oct 13, 2020
@reesekimm reesekimm changed the title [Common] 로그인 기능 구현 [Common] 로그인/로그아웃 기능 구현 Oct 14, 2020
reesekimm added a commit that referenced this issue Oct 17, 2020
reesekimm added a commit that referenced this issue Oct 17, 2020
[client]
- 로그인 modal의 'Github으로 로그인 하기' 버튼 클릭시 github oauth 페이지로 연결
 (해당 링크를 새로운 탭이 아닌 현재 페이지에서 열기 위해 <Button type='exLink'>를 사용하지 않고 anchor 사용)
- 현재 로그인 수단은 github oauth가 유일하기 때문에 login관련 actions, reducers, sagas가 불필요해짐 -> 삭제

[server]
- passport-github2로 github strategy 구현
- req.flash를 사용하기 위해 express-session, cookie-parser, connect-flash 적용
- localhost:3010으로 리다이렉트 및 세션쿠키 세팅 확인 완료

Todo :
- DB 연동 및 예외처리 후 클라이언트에 사용자 정보 응답
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌏 Common Common feature related to both front-end and back-end 📦 Feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant