Laravel护照生产:资源所有者或授权服务器拒绝了该请求

问题描述

我使用Laravel构建API,并且仅在prod中出现错误:日志文件

The resource owner or authorization server denied the request {"exception":"[object] (League\\OAuth2\\Server\\Exception\\OAuthServerException(code: 9): The resource owner or authorization server denied the request. at /var/www/clients/client0/web1/web/vendor/league/oauth2-server/src/Exception/OAuthServerException.PHP:243)

我要登录时使用Postman,我仍然加载而没有任何响应,我检查了我的数据库,oauth_access_tokens已注册Auth passowrd客户端,但是我没有获得响应令牌。

  • 护照版本:^ 8.3
  • Laravel版本:^ 7.0
  • PHP版本:7.4
  • 数据库驱动程序和版本:Postgresql 12

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)