jwt-project
jwt-project copied to clipboard
A demo for an article written about JWT authentication in nodeJs
They are no longer supported by MongoDb in the database,js file, `useCreateIndex: true, useFindAndModify: false,` this can cause a failure in connecting to the database
Good and simple to follow tutorial. There needs to be a proper variable declaration in `app.js` line 33 Follow your documentation and trying to run it, `encryptedPassword undefined` ``` encryptedPassword...
Thanks @Olanetsoft for the project here. I was taking a look at it and wanted to update it.
how to I make req. user available globally or req. token available in controller or in indexjs
- added: displayName to user-model - added: cors to express
Convert user email input to lowerCase before check since we saved user email to database using lowercase. This is to make sure user input Case matches what we have in...