You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a django application where I want users to be able to log in with their google accounts, do stuff, and logout. I am not wanting to keep data or anything like that, so I overrode the default disconnect pipeline and just removed the 'social.pipeline.disconnect.allowed_to_disconnect' check so that they would be able to disconnect without having any other information in the db (like a password). I modified the example app you provide to test this functionality but ran into a snag. When I click disconnect, it does not actually disconnect the user and still says "You are logged in as [username]." Here is some data for you.
@suntzuII, disconnect doesn't mean logout, it will just disconnect the social reference to the user account. If you need to also logout the user that's apt to your project requirements and depends on you. You can do it easily by logout out the user in a pipeline method in the disconnect pipeline.
I'm building a django application where I want users to be able to log in with their google accounts, do stuff, and logout. I am not wanting to keep data or anything like that, so I overrode the default disconnect pipeline and just removed the 'social.pipeline.disconnect.allowed_to_disconnect' check so that they would be able to disconnect without having any other information in the db (like a password). I modified the example app you provide to test this functionality but ran into a snag. When I click disconnect, it does not actually disconnect the user and still says "You are logged in as [username]." Here is some data for you.
[27/Sep/2013 09:17:56] "GET /login/google-oauth2/ HTTP/1.1" 302 0
[27/Sep/2013 09:17:57] "GET /complete/google-oauth2/?state=2elSzt1mWspvP9MuUc6mFAuzSarns0j5&code=4/RvBkG11KwhtQr9X_qOGqeGW1iSOe.Qur7pBQX2wAWmmS0T3UFEsO6zJG_ggI HTTP/1.1" 302 0
[27/Sep/2013 09:17:57] "GET /done/ HTTP/1.1" 200 1208
[27/Sep/2013 09:18:06] "POST /disconnect/google-oauth2/1/ HTTP/1.1" 302 0
[27/Sep/2013 09:18:06] "GET /done/ HTTP/1.1" 200 1169
If you need any more info, or if I am just doing something wrong, please let me know! Thanks!
The text was updated successfully, but these errors were encountered: