Thursday, October 6, 2016

Re: How to debug oauth2 code?

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


Le 2016-10-04 à 08:41, Etienne Robillard a écrit :
> I've uploaded the development repository of
> django-hotsauce-oauthclient here:
>
> https://bitbucket.org/tkadm30/django-hotsauce-oauthclient/
>
> Regards,
>
> Etienne
>
>
> Le 2016-10-03 à 13:26, Etienne Robillard a écrit :
>> 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
tkadm30@yandex.com
http://www.isotopesoftware.ca/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/98e28836-d035-ba74-a03f-ab79a4e5cb12%40yandex.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment