开发者

How to get access to Gmail in Django

I'm trying to have a page in my webapp with a button 'Connect to Gmail', which sends the user to an authentication page, and when they get back their access token gets saved in my database for later use. I've been literally trying this for weeks, but I can't figure it out. I开发者_JS百科've tried xoauth, but it seems to only work as a stand-alone script.

Does anyone have some pointers on how to do this?


What you are looking for is OpenID. Check if some fits your need here:

http://djangopackages.com/grids/g/facebook-authentication/ (I know they write facebook authentication, though this page includes openid solutions and full featured solutions with Facebook/Twitter login as well)

I made good experience with django-socialregistration.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜