-
Notifications
You must be signed in to change notification settings - Fork 133
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
Returns ERROR invalid token #1
Comments
I used Node JWT Authentication API to run local API. In POST Method i passed username & password as an JSON Format,I got an JWT token. |
@VaikunthSS116 did you use admin for both username and password? I tested this code today using Postman and there was no issue or errors. The reason you got the invalid token error is that only the admin user has access to that route @itsmiranda have you tried using Postman? I tested this code today and had no issues/errors |
@Josh-Uvi Thanks for the information.I Will try and update you Later. |
@Josh-Uvi I have the server running without any issues but I can't find JWT token in postman login in with hardcoded values admin/admin as seen in the attached screenshot |
I'm trying to use Node JWT Authentication API to build a local API
although I got the server started, it is unable to pass the username/password to the server getting Invalid Token error. How can I solve this? Thank you very much!
The text was updated successfully, but these errors were encountered: