【问题标题】:Library for OAUTH2.0 provider with Django-nonrel on Google AppEngineGoogle AppEngine 上带有 Django-nonrel 的 OAUTH2.0 提供程序库
【发布时间】:2013-02-13 13:41:43
【问题描述】:

我正在使用 Django-nonrel 在 Google App Engine 上开发 OAUTH 2.0 提供程序。对于身份验证,我提供了自己的用户身份验证,因此我没有使用 Google 帐户。

我对用于创建 oauth 提供程序的可用 OAUTH2.0 库进行了一些研究。 oauth2app 看起来很有希望,因为它也在使用 Django。 有没有人有使用 Django-nonrel 在 Google App Engine 上使用这个库的经验? 或者有人可以推荐一个图书馆吗?

谢谢!

【问题讨论】:

    标签: python google-app-engine oauth-2.0 django-nonrel oauth2app


    【解决方案1】:

    我目前正在使用这个

    oauth2

    Oauth 对我来说是未知的,但这个库对我有很大帮助

    该链接还包含示例以了解其工作原理

    【讨论】:

    • 非常感谢!但据我所知,oauth2 在 1.0 版中使用 OAuth,我想使用 OAuth 2.0。
    【解决方案2】:

    我最终使用了oauth2app,并且只需要进行一些小改动就可以使用 django-nonrel。

    唯一的限制是 oauth2app 中的模型类使用 ManyToManyFields,而 django-nonrel 不支持,所以我最终将它们更改为 ListFields。然后,这会产生一些关于在库中完成的查询的微小变化。

    总之 oauth2app 也可以与 Google App Engine 上的 django-nonrel 结合使用。

    【讨论】:

      猜你喜欢
      • 2014-07-24
      • 2014-09-11
      • 1970-01-01
      • 2011-10-31
      • 2012-01-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多