alixandru / q2a-open-login

Question2Answer Open Login plugin
62 stars 44 forks source link

CSRF state token does not match one provided #43

Closed mdegrees closed 9 years ago

mdegrees commented 10 years ago

Hi Alixandru, After using open-login-master for a while, facebook logins stopped working, error log shows "CSRF state token does not match one provided" error. I have seen same issue discussed here : http://stackoverflow.com/questions/22424409/facebook-sso-state-check-csrf-state-token-does-not-match-one-provided. Please is the solution mentionned on stackoverflow worth trying on q2a-open-login.

Thank you !

alixandru commented 10 years ago

Have you updated to v3.0.0? Also, are you seeing this for all attempts or only intermittently?

mdegrees commented 10 years ago

Thank you Alixandru for your quick reply, I am using the old version and it's for all attempts. For updating should i replace all files?

alixandru commented 10 years ago

I have tested this with v3 and cannot reproduce it. I need to downgrade the plugin to v2 on my test site in order to test it with the old version, although I know that v2 was stable and Facebook was working just fine. So the StackOverflow answer is probably not applicable here. Could it be something related to the app settings on your Facebook App Console?

I will get back to you once I get the chance to test it on the old version.

On Fri, Sep 12, 2014 at 5:57 PM, malihovich notifications@github.com wrote:

Thank you Alixandru for your quick reply, I am using the old version and it's for all attempts. For updating should i replace all files?

— Reply to this email directly or view it on GitHub https://github.com/alixandru/q2a-open-login/issues/43#issuecomment-55414846 .

mdegrees commented 10 years ago

Okey thanks a lot for your time and attention !

alixandru commented 10 years ago

I was unable to reproduce this on my test site. I tested with v2.1.1. What version of the plugin are you using? Have you checked the application settings in the Facebook App Console?

mdegrees commented 9 years ago

Thanks a lot alixandru ! problem solved. This has to do with domaine and subdomaine configuration on facebook app setting. After configuring correctly app domaine to work as well for domaines, things were sorted out well.

Thank you again!

alixandru commented 9 years ago

OK. I'm glad it's solved.