node-authentication-jwt-mongodb icon indicating copy to clipboard operation
node-authentication-jwt-mongodb copied to clipboard

A simple and secure implementation of REST API using Node.js and MongoDB with JSON Web Tokens which can be used for user authentication.

Results 3 node-authentication-jwt-mongodb issues
Sort by recently updated
recently updated
newest added

const CHARACTER_SET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; const REFERRAL_CODE_LENGTH = 8; const referralCode = generate(CHARACTER_SET, REFERRAL_CODE_LENGTH);

Replaced this line around line 18 , I think that when sending headers by axios, there is no need to make this split. // Replaced this line // const token...

While using the project with a reactjs frontend project i had a cors probleme I fixed it with a `npm install cors` and adding a line in the main app.js...