featherjs error: No authentication strategies allowed for creating a JWT (`jwtStrategies`)

featherjs error: No authentication strategies allowed for creating a JWT (`jwtStrategies`)

按照指南迁移到 featherjs V4 (CROW) 后 (https://crow.docs.feathersjs.com/migrating.html),身份验证不再有效。

在迁移到 V4 之后,我收到了一个错误,指出 @featherjs/authentication-oauth 丢失(即使我根本不使用 oauth)所以我安装了 missin 模块。

现在我得到错误: featherjs 错误:创建 JWT 时不允许使用身份验证策略 (jwtStrategies)

没关系,它已在 4.0.0-pre.1 版本中修复。

运行 在迁移时进入此...我的问题是我有一个配置文件 authentication.strategies 而不是 authentication.authStrategies

https://docs.feathersjs.com/guides/migrating.html#old-client-jwt-compatibility