我试图在WSL ubuntu 18.04上运行它
curl --request POST \
--url <domain>/oauth/token \
--header 'content-type: multipart/form-data; boundary=---011000010111000001101001' \
--form grant_type=password \
--form client_id=4 \
--form client_secret=1t5c4n0UJL5uVjP251N2PK40bs6hMeFT5d3ymk3G \
--form username=sample@email.com \
--form 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."
}
我在这里将Lumen与lumen passport一起使用
有人遇到相同的问题吗? 您是如何解决的?
谢谢