Answer the question
In order to leave comments, you need to log in
OAuth. How to show a window with "allow" and "prohibit" every time you try to log in through a social network?
Hello!
I am using laravel/socialite and socialiteproviders . I did everything in the code as indicated in the documentation. Everything works, except for a couple of moments:
1. If in the window that appears (authorization, for example, via google) click "Deny", then the following error will appear:
ClientException in RequestException.php line 111:
Client error: `POST https://accounts.google.com/o/oauth2/token` resulted in a `400 Bad Request` response:
{
"error" : "invalid_request",
"error_description" : "Missing required parameter: code"
}
InvalidStateException in AbstractProvider.php line 200:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question