【问题标题】:OAuth package for Django-nonrelDjango-nonrel 的 OAuth 包
【发布时间】:2012-04-18 05:38:15
【问题描述】:

谁能帮我找到一个可以与 Django-nonrel 一起使用的 OAuth 包(1.0 或 2.0)?

oauth2app 非常好,但是它使用:scope = models.ManyToManyField(AccessRange) 所以它不能与 Django-nonrel 一起使用。

谢谢。

【问题讨论】:

    标签: django oauth oauth-2.0 django-authentication django-nonrel


    【解决方案1】:

    我目前正在使用 django-social-auth 和 django-nonrel。

    https://github.com/omab/django-social-auth#oauth

    但我只使用了 FB 后端。它似乎工作正常,不使用多对多。还有一个 OAuth 后端,但我没有尝试过,我不确定它是否使用 ManyToMany。

    【讨论】:

    • 非常感谢您的回答。我会尝试 django-social-auth。我仍然希望知道选项。如果有人知道这个问题,请告诉我。
    • djano-social-auth 不是 OAuth 包。它需要一个 OAuth 包才能运行。问题仍未解决。
    • 抱歉,我还没有深入了解它。
    • 不用说对不起。我了解了社交身份验证,这很有帮助。还在努力寻找。谢谢。
    猜你喜欢
    • 2014-02-18
    • 2014-09-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多