0
I created a api using the passport do laravel 5.3. It works as follows: O angular 2 send credentials to the laravel, the verification and the laravel returns a token. It’s all working round.
Something that is making me unhappy is when credentials are not properly informed. Browser throws an error on the console. I am already treating such error and presenting to the user. But I wish this error did not appear on the console. see:
The mistake is:
POST http://www.back.com.br/oauth/token 401 (Unauthorized)
I googled it and from what I saw some people say it has nothing to do with angular 2. That would be related to laravel.
Anyway... does anyone have an idea how to remove this error? I find it ungainly.
