How to debug oauth2 code?

24 views
Skip to first unread message

Etienne Robillard

unread,
Oct 3, 2016, 1:27:23 PM10/3/16
to django...@googlegroups.com
I'm trying to build a custom Django app with OAuth 2.0 support through
django-hotsauce-oauthclient, however

once I logged in all requests will share my username. I use gevent for
handling thread-local

data (the request.environ object). Is there a proper way to debug OAuth
2.0 code ?

Thanks,

Etienne

--
Etienne Robillard
tka...@yandex.com
http://www.isotopesoftware.ca/

Etienne Robillard

unread,
Oct 4, 2016, 8:44:50 AM10/4/16
to django...@googlegroups.com
I've uploaded the development repository of django-hotsauce-oauthclient
here:

https://bitbucket.org/tkadm30/django-hotsauce-oauthclient/

Regards,

Etienne

Etienne Robillard

unread,
Oct 6, 2016, 6:50:39 AM10/6/16
to django...@googlegroups.com
Any ideas why my Google oauth 2.0 client does only allow my user info

to be published? I want to implement a simple authentication middleware

for protection of a django view using OAuth 2.0 authentication and oauthlib.

Thanks,

Etienne

PS: a Live demo is here: http://www.isotopesoftware.ca
Reply all
Reply to author
Forward
0 new messages