You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently wt token and login endpoint only takes in a username and it is not stored anywhere.
It would be good if a database is present under which the authentication service can work on , users are stored in database and validated from the data present there.
So the flow would be
user registers themselves in new endpoint
their data is stored in database
on logging in from login endpoint values are validated from database and jwt token is provided