passport oauth账号密码登录报错
Replicating claims as headers is deprecated and will removed from v4.0. Please manually set the header if you need it replicated.
让我手动设置header,啥意思 没搞明白。
数据库已经报错数据了,但是响应的时候报这个错。
问题已解决,是因为 lcobucci/jwt 这个包的问题,它最近更新了自己的消息处理方式,竟然没有向后兼容!!!
在league/oauth2-server里面看了一下composer.json,这个包是3.1的,然后自己手动更新到3.3.3就可以了。
composer require lcobucci/jwt=3.3.3
已解决