Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expressJwt needs specified algorithm #15

Open
aslak01 opened this issue Sep 3, 2020 · 1 comment
Open

expressJwt needs specified algorithm #15

aslak01 opened this issue Sep 3, 2020 · 1 comment

Comments

@aslak01
Copy link

aslak01 commented Sep 3, 2020

Hey,

I had to modify auth.service.js to get this to run, adding algorithms: ['RS256'] to the expressJwt configuration.

There are also quite verbose warnings popping up at npm run dev complaining about mongodb settings (but that is probably because I updated it before running since npm informed me that the original mongo version included had severe security problems.

The useMongoClient option is no longer necessary in mongoose 5.x, please remove it.

I think this project seems quite helpful to someone learning about node backend stuff (like me) so I figured I'd comment about it.

@khriztianmoreno
Copy link
Owner

Hi @aslak01 I am very happy to know that the project has been useful to you. What do you think if you send a PR with the changes you made and so we help more people who start with nodejs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants