救命!laravel 5.4+passport本地搭建oauth2的故障!


在使用laravel 5.4+passport中,本地测试的时候,当客户端向服务器端请求access_token的时候,始终报错:
{"error":"invalid_request","message":"The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.","hint":"Cannot decrypt the authorization code"},但使用postman发起post请求,却能正常返回access_token,其中具体是什么问题,是php的配置不对吗?openssl已开,服务器apache2.4+php7.1


点赞 取消点赞 收藏 取消收藏

<< 上一篇: 新手问题

>> 下一篇: laravel 构造方法不执行跳转