-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session Mismatch - Infinite loop #23
Comments
Ensure that the url is consistent in your |
@julianlam I'm using the https adress wherever possible... |
Do you have |
No I haven't, should I? And if I should is this option just a value in the root json object? |
It's not a |
Where do I find this option/ where would I find it? |
No it's not set... |
Bumping this, as this issue still persists... |
Thanks for the repro steps, that could potentially be something 😄 |
Can't reproduce... I don't actually see any logic that would trip up the user creation process. We don't check emails (as twitter doesn't provide them), and if the handle is the same as an existing user, they are assigned a different username. So at this point I'm not quite sure why your environment is different and causes this to happen 😦 |
I can confirm this issue. I have it on my page too. Together with these log entries:
Curious is that when I register with twitter (in an anonymous browser window), I am forwarded to enter my twitter credentials on the twitter API. When I do, I am redirected to my page and I get the error:
When I go to register again, it seems like I am logged in in the background (the "register" and "sign in" buttons at the top right are gone). But now I have the "session missmatch" loop @RoiEXLab describes. In some other issue topics I got the hint to check that the website's url in twitter and in nodebb's config.json are identical. I found this to be impossible, considering that config.json reads:
which causes twitter to say "callback-url invalid" when I give them
as the callback URL. However when creating the app with "http://schreibnacht.de/auth/twitter/callback" (http instead of https and no www) and then changing it later to "https://www.schreibnacht.de/auth/twitter/callback", they allow it. The funny part is: So I am really curious why that didn't work during registration. Overall this is highly mysterious for me and I'd love any help. |
Failed to find request token in session... that could mean that a cookie was not able to be saved, or saved under the wrong domain, perhaps? Usually wrong domain could occur if Though if you did that, even local logins would stop working. |
Looks like I am having troubles with the Google+ SSO as well. The only thing I was able to get to work was Facebook. But I am aware that this is for a different repository. What's the best way to debug these things? |
Same here. @RoiEXLab How did you manage to remove it ? |
@donho I don't know anymore. If I recall correctly, I tried logging in with my email directly (without SSO) which seemed to break the loop. |
I did figure out from your description. Thank you @RoiEXLab |
I got the infinite loop problem when I cancelled my registration from the TOS page while testing the user login process. Problem is that I needed to log in to reset the session. Logging out didn't help. Given that I was pretending to be a new user who'd cancelled logout, this would be a problem--I wouldn't have a login to reset the session. |
When using this plugin, with the API keys etc. setup correctly, every time I enter my valid twitter login credentials a "popup overlay" is opened telling me this:
Session Mismatch
It looks like your login session is no longer active, or no longer matches with the server. Please refresh this page.
When i click "ok", the page is reloaded and the same message appears again. This would go infinitely, unless you remove this overlay window in the html code and click logout.
Any Ideas what could be wrong?
The text was updated successfully, but these errors were encountered: