Ali Ebrahimpour
5 سال پیش توسط Ali Ebrahimpour مطرح شد
0 پاسخ

مشکل oauth token

سلام دوستان من دارم از پاسپورت و نسخه 5.8 لاراول استفاده میکنم و وقتی از روت oauth/token روت رو فراخوانی میکنم همچین خطایی میده :
مقادیر ورودی بادی به صورت جیسون که میدم هم اینجوری :

{ 
  "scope":"*",
  "grant_type": "password",
  "client_id": 23,
  "client_secret": "czYe6h6zX6rdsdsKjfcBrXeInSmbtKz5NTqDRCFC",
  "username": "username@example.com",
  "password": "password"
}

خروجی اینو بهم نشون میده:

{
  "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."
} 

تا به حال به همچین مشکلی خوردین یا راه حلی دارین ؟