M
M
Mikhail Bolev2021-03-28 12:38:18
Django
Mikhail Bolev, 2021-03-28 12:38:18

How to set up authorization through Yandex?

I understand this question comes up often, but so far I haven't been able to find an answer to it.
I'm trying to log in via Yandex. I do as indicated in the allauth documentation: callback URL: https://oauth.yandex.com/verification_code (I also did this: http: // localhost: 8000 / accounts / yandex / login / callback /)
Gives an error: 40 0 redirect_uri does not match the Callback URL defined for the client In the browser line: https://oauth.yandex.com/authorize?client_id=a5da4... z What could be the reason? PS Set up authorization through other networks (VK, google, OK).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Bolev, 2021-03-31
@Scorpion_MB

Callback URL: 127.0.0.1:8000/accounts/yandex/login/callback
New application registration required.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question