Tuesday, December 30, 2014

django + OAuth2: Sessions

Hi everyone,

I am using python-social-auth to implement login via Google, Github, ... The problem I am having is that after the user is redirected to Google or Github the sessionid is reset. I want to preserve the sessionid in order to associate it later with the username.

I did some research but cannot find something online. The only thing I found was that the sessionid might be reset in the case of changing from http to https which is not the case since my website uses https.

Any help would be very appreciated.

Thanks a lot guys,
T.

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJTC%2BnZ1-UOg0AtNbQ5mdqsJz7TkBp2fNTrt%3DAkzDDwnAo1fXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment