You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type 'GetVerificationKey' is not assignable to type 'Secret | GetVerificationKey'.
Type 'import("/node_modules/jwks-rsa/index").GetVerificationKey' is not assignable to type 'import("/node_modules/express-jwt/dist/index").GetVerificationKey'.
Type 'Secret | Promise<Secret | undefined> | undefined' is not assignable to type 'Secret | Promise<Secret>'.
Type 'undefined' is not assignable to type 'Secret | Promise<Secret>'
Environment
Version of this library used: 7.7.5
Version of node-jwks-rsa library used: 2.1.5
The text was updated successfully, but these errors were encountered:
Description
A PR was recently merged to auth0/node-jwks-rsa that changed the type of
GetVerificationKey
, which breaks the interaction with express-jwt.Reproduction
This code gives the TypeScript error:
Environment
The text was updated successfully, but these errors were encountered: