-2

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

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

现在我收到错误:featherjs 错误:不允许创建 JWT ( jwtStrategies)的身份验证策略

4

2 回答 2

0

迁移时遇到这个问题......我的问题是我有一个配置文件authentication.strategies而不是authentication.authStrategies

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

于 2021-11-03T21:48:09.607 回答
0

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

于 2019-05-09T13:47:05.387 回答