phper666 / jwt-auth

能直接在hyperf框架中使用jwt的组件. 用之前,请详细的看下下面的文档~
191 stars 35 forks source link

hyperf1.1 安装2.0.8使用多点登录报错,安装2.0.7则正常使用 #30

Closed artisan-yu closed 2 years ago

artisan-yu commented 4 years ago

报错内容

here is no key in the claims

我配置的是多点登录为什么为这样报错呢?

以下依赖是其他组件要求升级1.1的

composer require phper666/jwt-auth:~2.0.1

composer require hyperf/utils:~1.1.1
composer require hyperf/cache:~1.1.1
composer require hyperf/command:~1.1.1
composer require hyperf/config:~1.1.1
composer require hyperf/di:~1.1.1
phper666 commented 4 years ago

你用了单点登录了吧?只有单点登录才会检测这个key