HomeTutorsContact

(Solved) How to fix UnauthorizedError invalid algorithm?

By Gulshan Saini
Published in NodeJS
August 30, 2020
1 min read

While using package express-jwt, I faced issue UnauthorizedError invalid algorithm

Below is stack trace of same

Error

Solution

Add algorithms property in expressJwt options as follows


Tags

#express#express-jwt
Previous Article
(Solved) How to fix UnauthorizedError No authorization token was found?

Gulshan Saini

Fullstack Developer

Subscribe to our newsletter!

We'll send you the best of our blog just once a month. We promise.

Related Posts

(Solved) How to fix UnauthorizedError No authorization token was found?

August 29, 2020
1 min
© 2020, All Rights Reserved.

Quick Links

Advertise with usContact Us

Social Media