草庐IT

aggrinfo

全部标签

node.js - nodejs (express) 中的 Auth0 中间件给出错误 : aggrinfo ENOTFOUND

我在我的expressAPI中使用中间件来验证auth0constcheckJwt=jwt({//DynamicallyprovideasigningkeybasedonthekidintheheaderandthesingingkeysprovidedbytheJWKSendpoint.secret:jwksRsa.expressJwtSecret({cache:true,rateLimit:true,jwksRequestsPerMinute:5,jwksUri:`https://${process.env.AUTH0_DOMAIN}/.well-known/jwks.json`}

node.js - nodejs (express) 中的 Auth0 中间件给出错误 : aggrinfo ENOTFOUND

我在我的expressAPI中使用中间件来验证auth0constcheckJwt=jwt({//DynamicallyprovideasigningkeybasedonthekidintheheaderandthesingingkeysprovidedbytheJWKSendpoint.secret:jwksRsa.expressJwtSecret({cache:true,rateLimit:true,jwksRequestsPerMinute:5,jwksUri:`https://${process.env.AUTH0_DOMAIN}/.well-known/jwks.json`}