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

네이버 로그인 명세서 #7

Open
jyb2605 opened this issue Jul 28, 2019 · 0 comments
Open

네이버 로그인 명세서 #7

jyb2605 opened this issue Jul 28, 2019 · 0 comments

Comments

@jyb2605
Copy link
Owner

jyb2605 commented Jul 28, 2019

네이버 로그인

Request

HTTP Method URI
GET /users/naver-login
  • Header
Name Value Description
content-type application/json
  • example
http://101.101.160.246:3000/users/naver-login


Response

Success

  • Status: 200
  • Header
Name Value Description
content-type application/json
  • Body
Name Value Description
code 200 response 코드번호
api_url https://nid.naver.com/oauth2.0/authorize?response_type=code&client_id=TrZoTzoGpm2QeFvmy6Rf&redirect_uri=http://101.101.160.246:3000/users/callback&state=djfnefdndndnddndl 네이버 로그인 url
{
      "code":200,
      "api_url":"https://nid.naver.com/oauth2.0/authorize?response_type=code&client_id=TrZoTzoGpm2QeFvmy6Rf&redirect_uri=http://101.101.160.246:3000/users/callback&state=djfnefdndndnddndl"
}

Fail

Status Description
500 서버 에러

<Status>

{
      "code":500,
      "api_url":"error message"
}




relate to issue

@jyb2605 jyb2605 mentioned this issue Jul 29, 2019
3 tasks
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