Snippets tagged “oauth”
2 snippets use this tag.
- Facebook SDK returned an error: The "state" param from the URL and session do not matchPHP
This error message appears when the SDK is being used to make an OAuth request to Facebook, and the "state" parameter in the URL doesn't match the "state" value that was stored in the user's session.
- Laravel Socialite: InvalidStateExceptionPHP
The InvalidStateException is thrown by Laravel's Socialite package when the state parameter provided in the OAuth redirect URL does not match the one stored in the session.