Solve your laravel problems.
When the Password grant is successful it returns format in json but when error returns an html format Exception in Laravel