Closed
Description
Description
If you do not provide ´algorithms´ option you get an exception in run time.
I know this is in the doc: https://github.com/auth0/express-jwt#required-parameters but the typings used for ´algorithms´ option comes from jsonwebtoken package and there the ´algorithms´ is defined as optional.
I think this typing should be overridden in jwt to avoid confusion.
Activity
jfromaniello commentedon May 2, 2022
good catch! fixed in v7.6.2
remove undefined from algorhitms fix #285
make algorithms a required parameter in types. closes auth0#285