• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

부탁드립니다 . 너무 답답하네여,

19.07.03 18:29 작성 조회수 4.2k

0

서버에 올린 제 웹사이트가 다른것은 다 되는데

 

구글 로그인 하려고 하는데 이렇게 나오네요.

 

무엇이 잘못된거죠??

 

Error: redirect_uri_mismatch

The redirect URI in the request, http://www.rightfuljung.com/accounts/google/login/callback/, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/422665297283-gvc70puumgok9a0u4lq6k7cnams2pc3o.apps.googleusercontent.com?project=422665297283

Learn more

<ins style="margin:0px;padding:0px;color:#777777;text-decoration-line:none">That’s all we know.</ins>

답변 1

답변을 작성해보세요.

0

jung ae Kim님의 프로필

jung ae Kim

2020.01.14

저는 로컬에서 스터디로 코딩중인데요

does not match the ones authorized for the OAuth client

이렇게 오류가 나와서...

구글 API 설정에서 '승인된 리디렉션 URI' 에서 

http://127.0.0.1:8000/accounts/google/login/

http://127.0.0.1:8000/accounts/google/login/callback/

이렇게 둘 다 넣어주니까 로그인창으로 정상적으로 넘어갔습니다..