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

[Mission 3] 로그인 엔드포인트 #25

Open
soheon-lee opened this issue Jul 31, 2020 · 0 comments
Open

[Mission 3] 로그인 엔드포인트 #25

soheon-lee opened this issue Jul 31, 2020 · 0 comments

Comments

@soheon-lee
Copy link
Collaborator

soheon-lee commented Jul 31, 2020

✔️ 우리 서비스의 회원으로 등록된 사용자를 로그인하도록 허가하는 과정에 대해 진행하겠습니다.

user app을 생성해주세요

  • 앱 이름에서 그 용도를 유추할 수 있어야 합니다. 사용자와 관련된 기능을 구현할 앱이므로, user 또는 account등의 이름으로 앱을 생성해주세요.
  • 이미 생성되어있다면, 해당 앱을 계속 사용해주세요.

로그인 뷰 를 작성해주세요

  • 인스타그램에 회원가입 할 때에는 사용자 계정(예:전화번호, 사용자 이름 또는 이메일 중 하나)을 필수로 필요합니다.
  • 인스타그램에 로그인 할 때에는 비밀번호가 필수로 필요합니다.
  • 계정이나 패스워드 키가 전달되지 않았을 시, {"message": "KEY_ERROR"}, status code 400 을 반환합니다.
  • 계정이 존재하지 않을 때나 비밀번호가 맞지 않을 때, {"message": "INVALID_USER"}, status code 401을 반환합니다.
  • 로그인이 성공하면 {"message": "SUCCESS"}, status code 200을 반환합니다.

로그인 뷰를 호출할 url을 작성해주세요

로그인 과정을 확인해주세요

  • httpie를 이용하여 로그인을 진행해보세요.
  • 어떠한 잘못된 접근을 시도하였을 때, 어떤 에러가 나는지 블로깅해주세요.
@soheon-lee soheon-lee changed the title [Mission3 ] [Mission3 ] 로그인 엔드포인트 Jul 31, 2020
@soheon-lee soheon-lee changed the title [Mission3 ] 로그인 엔드포인트 [Mission 3] 로그인 엔드포인트 Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant