Invalid auth state parameter


I have problems with Facebook login / registration in Yii2 using Yii2-user and Yii2-auth.

When I click on "Login with facebook", I get this error:

404 error, Invalid auth state parameter

I think it has something to do with Facebook API version. When I try to connect FB app created in v2.7, I don’t get the message. I created a new FB login in v2.9, but I got this error.

Can anyone suggest? I try to update all extensions etc. to the latest state, but was not successful.



Ok, the problem was that some YII2 folders were missing on the server (session, tmp)

Hello! I have same problem. Can you tell me what did you do? Where I must create folders?