1

我在使用 django-social-auth (https://github.com/omab/django-social-auth) 集成 Vkontakte 身份验证时遇到问题。我知道我已经使用 AUTHENTICATION_BACKENDS 以及 VKONTAKTE 的 API_KEYS 和 SECRETS 设置了所有内容,但它仍然无法正常工作。我还通过 Facebook 进行了身份验证,它工作正常,所以我知道我做得对。Django-Social-Auth 的文档说要添加一些 JS 脚本以使身份验证工作,但甚至没有提供有关脚本的一些有用信息。

有人可以提供一些有用的信息吗?如果你能提供一些关于如何使用 django-social-auth 实现 Vkontakte 身份验证的非常好的教程,那就太好了!

非常感谢你们!=)

4

1 回答 1

0

If the url you're using is something like "http://localhost:8000/login/vkontakte/", try to change it to "http://localhost:8000/login/vkontakte-oauth2/".

于 2013-07-03T19:56:25.683 回答