Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

laravel passport doesnt support authorization grant type?

I am having an issue using the authorization grant in laravel/passport. I usually get this error:

{"error":"unsupported_grant_type","message":"The authorization grant type is not supported by the authorization server.","hint":"Check the grant_type parameter"}

First of all it takes me to login page, when i login it throws the above error. However the password grant works fine.

I created my client using: php artisan passport:client

like image 524
dasersoft Avatar asked Dec 24 '22 20:12

dasersoft


1 Answers

try body raw and Content-Type application/json

Passport consume service

like image 190
Manuel Temple Avatar answered Jan 13 '23 19:01

Manuel Temple