CSRF state token does not match one provided FB PHP SDK 3.1.1 Oauth 2.0

后端 未结 9 1996
难免孤独
难免孤独 2020-12-01 12:12

My server logs show a \"CSRF state token does not match one provided\" error which seems to happen for almost every user. However, the users are created and/or authenticated

9条回答
  •  我在风中等你
    2020-12-01 12:50

    if you use .htaccess mod rewrite redirects on your page, use the [QSA] (Query String Append) at the end of the lines to preserve the GET variables, or else you lost the $code variable, which is required to the facebook login

提交回复
热议问题