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

BSM OAuth #66

Open
3 of 5 tasks
gimhanul opened this issue Mar 19, 2023 · 1 comment
Open
3 of 5 tasks

BSM OAuth #66

gimhanul opened this issue Mar 19, 2023 · 1 comment
Assignees
Labels
✨ Feature 새로운 기능 개발

Comments

@gimhanul
Copy link
Member

gimhanul commented Mar 19, 2023

✨ Describe

BSM OAuth를 적용해야 합니다.

✅ Tasks

  • google 로그인 / 회원가입 로직 변경
  • BSM OAuth 로그인
  • BSM OAuth 회원가입
  • BSM OAuth 계정 연동
  • 학생 state validation

🙋🏻 More

@gimhanul gimhanul added the ✨ Feature 새로운 기능 개발 label Mar 19, 2023
@gimhanul gimhanul added this to the 4차 스프린트 milestone Mar 19, 2023
@gimhanul gimhanul added this to Backend Mar 19, 2023
@gimhanul
Copy link
Member Author

gimhanul commented Mar 20, 2023

OAuth 동작 계획

회원가입

  • BSM
    • 학생, 선생님 모두 가능
  • google
    • 학생, 선생님 모두 가능
    • 별다른 입력 없이 바로 회원가입(이름, 학번, 비밀번호 모두 X)
    • 학생은 google로 회원가입 후 BSM 계정 연동 후 사용 가능

로그인

별다른 학번 업데이트 없이 이메일로 인증 정보만 가져오며 사용

  • BSM
  • google

패스워드 로그인

유령 계정을 위한... bssm.hs.kr 계정 없는 사람

설정 페이지에서 비밀번호를 설정한 사람만 사용 가능.
패스워드 로그인을 위한 페이지 따로 파기 (기본은 oauth)

학번 업데이트 처리

학번 업데이트는 로그인 할 때마다 X
어차피 학번 업데이트 시점은 정해져있기 때문에(새학기)
새학기에만 fetch하고 update하는 방식

@gimhanul gimhanul mentioned this issue Apr 4, 2023
@gimhanul gimhanul moved this to In Progress in Backend Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 새로운 기능 개발
Projects
Status: In Progress
Development

No branches or pull requests

2 participants