I'm trying to create a simple django project (website) that authenticates the user using OAuth2 and returns a list of files from my google drive account using the drive api v2.
the problem is that I can't get the authentication working, the exception is:
'WSGIRequest' object has no attribute 'redirect'
if someone has managed to get some application going using django mtv file structure get give me some references or a sample project please reply
The sample application can be accessed at: http://helloworldbyionut.appspot.com/home/
If you use app engine, easiest way to do oauth is to use oauth_required decorator. It does all the Oauth2 steps automatically.
I'm trying to create a simple django project (website) that authenticates the user using OAuth2 and returns a list of files from my google drive account using the drive api v2.
the problem is that I can't get the authentication working, the exception is:
'WSGIRequest' object has no attribute 'redirect'
if someone has managed to get some application going using django mtv file structure get give me some references or a sample project please reply
The sample application can be accessed at: http://helloworldbyionut.appspot.com/home/
If you use app engine, easiest way to do oauth is to use oauth_required decorator. It does all the Oauth2 steps automatically.
0 commentaires:
Enregistrer un commentaire