So I have copy-pasted all the functional stuff from the simpleauth example into my app.
I am testing with google login and facebook login. When I run it locally, everything works perfectly. I have set up suitable callback permissions for facebook and google (2 accounts for facebook, and two urls for google).
So, when running the local server, I can login, logout, login, logout (to google/facebook), and everything works great.
When I run on the live server, I can login to google or facebook once each. So, I login to google, it works and I get redirectly back to my "profile". I logout, login to facebook, again I get my profile successfully.
But when I logout again, if I try to login to google, it appears to go through OK, but instead of redirecting to my profile, I get redirected to my "/login" screen. I can only log in to google once, and facebook once.
If I delete the "_simpleauth_sess" cookie, it works again, for one login each for google/facebook,
I'm stuck, I can't for the life of me work out the problem... Any ideas?
Kris