Good day,
We have enabled Login/Linking FB with our Website.
CloudFlare is enabled with forced SSL.
.htaccess has been changed / added with following lines to force WWW:
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
When somebody goes to *domain/settings/linked-accounts and tries to Link FB account, it comes up with the message:
This webpage has a redirect loop
ERR_TOO_MANY_REDIRECTS
After checking the error_log , it shows:
[20-Jul-2015 00:38:55 America/Toronto] CSRF state token does not match one provided.
[20-Jul-2015 00:39:51 America/Toronto] CSRF state token does not match one provided.
Googling:
http://stackoverflow.com/questions/11957455/csrf-state-token-does-not-match-one-provided
http://stackoverflow.com/questions/7340764/problem-with-facebook-login-not-matching-csrf-state-token
etc.
Rodolfo, any solution / help setting this up properly to have WWW (Forced working) + SSL + CloudFlare + FaceBook Linking?
Please advise if we setup something wrong from our side.
Kind regards
We have enabled Login/Linking FB with our Website.
CloudFlare is enabled with forced SSL.
.htaccess has been changed / added with following lines to force WWW:
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
When somebody goes to *domain/settings/linked-accounts and tries to Link FB account, it comes up with the message:
This webpage has a redirect loop
ERR_TOO_MANY_REDIRECTS
After checking the error_log , it shows:
[20-Jul-2015 00:38:55 America/Toronto] CSRF state token does not match one provided.
[20-Jul-2015 00:39:51 America/Toronto] CSRF state token does not match one provided.
Googling:
http://stackoverflow.com/questions/11957455/csrf-state-token-does-not-match-one-provided
http://stackoverflow.com/questions/7340764/problem-with-facebook-login-not-matching-csrf-state-token
etc.
Rodolfo, any solution / help setting this up properly to have WWW (Forced working) + SSL + CloudFlare + FaceBook Linking?
Please advise if we setup something wrong from our side.
Kind regards