sfelix-martins / passport-multiauth

Add support to multi-authentication to Laravel Passport
MIT License
288 stars 51 forks source link

Its giving me this error on laravel 6 #116

Closed shezy26 closed 4 years ago

shezy26 commented 4 years ago

League\OAuth2\Server\Exception\OAuthServerException: The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. in file C:\xampp\htdocs\broadway\vendor\league\oauth2-server\src\Exception\OAuthServerException.php on line 142

sfelix-martins commented 4 years ago

@shezy26 please, check if the parameter provider is being passed.

If the error persists send more details about your project configuration.

ismaelmartinezc commented 4 years ago

@sfelix-martins i having this error too. I'm passing provider parameter in request. How can I check if it had passed?

ismaelmartinezc commented 4 years ago

@sfelix-martins I was looking for this error. I added "guard" instead of "provider" so I received same error than @shezy26. I replace provider "api" for "users" and all is working now.

sfelix-martins commented 4 years ago

@shezy26 Can you check if you have the same problem? You must pass a provider instead of a guard.