Selamlar,
Passport ile token alırken hata alıyorum.Bir yerde yanlış yapıyorum ama anlayamadım.Passport kurup gerekli ayarları yaptım.Laravel Password Grant Client oluşturdum.
http://127.0.0.1:8000/oauth/token?
grant_type=password&
client_id=4&
client_secret=HMES9HW63qjjKCCqvdcIeaa5Q1u6ZT4PUkCSDDo3&
username=emailadress&
password=passw&
scope=*
Şeklinde token almaya çalışıyorum.Verdiği hata:
"error": "unsupported_grant_type",
"error_description": "The authorization grant type is not supported by the authorization server.",
"hint": "Check that all required parameters have been provided",
"message": "The authorization grant type is not supported by the authorization server."
Nedeni çoğu yerde client oluştururken password olarak oluşturulmamasında.Ama ben password olarak oluşturdum.Nedeni nerden kaynaklanabilir?
Teşekkürler