简体   繁体   English

在Google AppEngine上使用Django-nonrel的OAUTH2.0提供程序库

[英]Library for OAUTH2.0 provider with Django-nonrel on Google AppEngine

I'm developing an OAUTH 2.0 provider on Google App Engine with Django-nonrel. 我正在使用Django-nonrel在Google App Engine上开发OAUTH 2.0提供程序。 For authentication I have provided my own user authentication, so I'm not using Google Accounts. 对于身份验证,我提供了自己的用户身份验证,因此我没有使用Google帐户。

I did some research about available OAUTH2.0 libraries for creating oauth providers. 我做了一些关于可用的OAUTH2.0库的研究,用于创建oauth提供程序。 oauth2app looks quite promising, as it is also using Django. oauth2app看起来很有前途,因为它也使用Django。 Does anyone have experience with using this library on Google App Engine with Django-nonrel? 有没有人有使用Django-nonrel在Google App Engine上使用此库的经验? Or can anybody recommend a library? 或者任何人都可以推荐一个图书馆?

Thanks! 谢谢!

I am currently using this one 我目前正在使用这个

oauth2 的oauth2

Oauth was unknown for me but this library help me a lot Oauth对我来说不为人知,但这个图书馆对我有很大的帮助

The link has also examples to understand how it works 该链接还有一些示例来了解它的工作原理

I ended up using oauth2app and it only took me some minor changes in order to get in work with django-nonrel. 我最终使用了oauth2app ,它只是为了与django-nonrel一起工作,只给了我一些小的改动。

The only restriction is that the model classes in oauth2app use ManyToManyFields and this is not supported in django-nonrel, so I ended up changing them to ListFields. 唯一的限制是oauth2app中的模型类使用ManyToManyFields,这在django-nonrel中不受支持,所以我最终将它们更改为ListFields。 This then yields to some minor changes concerning the queries done in the library. 然后,这会产生一些关于库中完成的查询的微小更改。

All in all oauth2app can be recommended also in combination with django-nonrel on Google App Engine. 总而言之,oauth2app也可以与Google App Engine上的django-nonrel结合使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM