-
Notifications
You must be signed in to change notification settings - Fork 200
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
Cross-site request forgery validation failed. Required param "state" missing from persistent data #203
Comments
I have the same problem.... |
Ok maybe i've found the solution...At least for me it seems it works. |
sameproblem here |
Same here |
Same problem?? Any fix? Thanks @SammyK |
@foekall @snortatu @ImFireblade
Facebook SDK class accepts config, that has persistent_data_handler value.
So i created my own persistent data handler class that is implemeting Facebook\PersistentData\PersistentDataInterface and used it instead of default facebook persistent data handler. Here goes my custom persistent data handler class code
And config looks like this
|
if (request('state')) { |
I hav this message:
in this code:
try { $token = $fb->getAccessTokenFromRedirect(); } catch (Facebook\Exceptions\FacebookSDKException $e) { dd($e->getMessage()); }
have you any idea, how can resolve it?
Thanks!
The text was updated successfully, but these errors were encountered: