首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么@auth0/ Angular9不适合Angular9呢?

为什么@auth0/ Angular9不适合Angular9呢?
EN

Stack Overflow用户
提问于 2022-12-04 17:28:51
回答 1查看 20关注 0票数 0

我试图为@auth0/angular-jwt项目安装angular9。

module.ts

代码语言:javascript
复制
  imports: [
    HttpClientModule,   
    BrowserAnimationsModule,

    JwtModule.forRoot({
      config: {
        tokenGetter: tokenGetter,
        allowedDomains: ["example.com"],
        disallowedRoutes: ["http://example.com/examplebadroute/"],
      },
    }),
  ]

但是,当运行程序时,它会给出以下错误在这里输入图像描述

@auth0/角-jwt

EN

回答 1

Stack Overflow用户

发布于 2022-12-04 18:43:20

请快速查看@auth0/站点:

代码语言:javascript
复制
Supported Angular versions

This project only supports the actively supported versions of Angular as stated in the Angular documentation. Whilst other versions might be compatible they are not actively supported

角的活动版本为13及以上:https://angular.io/guide/releases#actively-supported-versions

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/74679113

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档