From what I understand, JWTs are used to verify who is logged in. But I also read that sessions do a better job at that.
What I want to know is:
- Should I use JWTs during log in to add an extra layer of security (on top of sessions)?
- What about while registering or signing up?
I still don't understand the purpose of JWTs and if someone could also explain them in very simple terms, that would be gold.