تابستون داره تموم میشه ها، فرصت‌ها محدودن کلی آفر جذاب در کمپین تابستون🔥👇
۰ ثانیه
۰ دقیقه
۰ ساعت
۲ aliblue
error postman
جامعه جاوا (اندروید) ایجاد شده در ۱۰ تیر ۱۴۰۱

ریسپانس دریافتی از سرور برای auth/token

{

    "error""unsupported_grant_type",

    "message""The authorization grant type is not supported by the authorization server.",

    "hint""Check the `grant_type` parameter"

}

this is a request

{

    "username""alireza@info.com" ,

    "password" :  "alireza80" 

}

بعد از پاس دادن {

  {

    "grant_type" : "password" ,

    "client_id"  : 2 ,

    "email""alireza@info.com" ,

    "password" :  "alireza80" 

}

error

{

    "error""invalid_client",

    "message""Client authentication failed"

}


aliblue ۱۰ تیر ۱۴۰۱، ۰۸:۰۹

سلام امیدوارم عالی باشید بایستی به جای email از username استفاده کنید

شبیه تصویر زیر

9a6a-Screenshot from 2022-07-02 11-13-34.png

بهترین پاسخ
پوریا شفیعی ۱۱ تیر ۱۴۰۱، ۰۶:۴۴