Can we use user password as jwt secret key?
To create a userToken, we need the token payload and the secret key after which it returns the token. const token = jwt.sign(data, "secretkey"); Instead of hard-coding the word secretKey (or any word) as a secret key, is it a good practice to user p...