django-social-auth has some Google OAuth2 code. I'm not sure if it applies to Drive but it might be worth looking at. I was able to create an OpenID backend to a new service in about 2 minutes.
https://github.com/omab/django-social-auth/blob/master/social_auth/backends/google.py#L69 On Thu, May 10, 2012 at 12:16 AM, Jordon Wing <jordon...@gmail.com> wrote: > Hey guys, > I'm trying to integrate Google Drive into my app, and I'm having some > trouble using OAuth2. I'm not sure if any of you have played with the SDK, > but if anyone has, what library (if any) did you use? Is there anything > that simplifies the 200+ lines of code they have in the examples? > > Link to the SDK: https://developers.google.com/drive > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/qwx3ZJG5MYgJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.