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
exception": "Infrastructure\\Auth\\Exceptions\\InvalidCredentialsException #43
Comments
@flik are you sure that you sent request with good credentials? I use that and works fine, i have response with access_token. |
Same issue on high sierra. Credentials are correct. |
Hi guys, maybe it's dumb question but do you have Passport Clients keys in .env and in Database ?What do you use to test your api? I'm using Postman and my request looks that: http://prntscr.com/jflktk and headers http://prntscr.com/jfll8z My test server works on Vagrant with Ubuntu 14.04.5 LTS. I installed many version of this repository and I didn't have problems. |
Thank you! In my case not a dumb question. In my .env file i had PERSONAL_CLIENT_ID=1 I change it to PASSWORD and works fine. |
If you have already launch artisan serve. Laravel create some files in bootstrap/cache. Delete all and relaunch your serve |
If you rerun the db migrations you also need to generate the passport secrets (artisan passport:install) So make sure you see the tokens match in youre env file and in the db table oauth_clients. |
Make sure once you have done your migration you install passport and copy the secrets to the
See readme for more information |
Post: /login giving response
The text was updated successfully, but these errors were encountered: