Question: can jwt be used for sessions?
Answer: As being said, usually it's preferable to use stateful JWT for sessions. ... You won't really store too much data in JWT the same way as you won't store it in a regular cookie. They are less secure. “When storing your JWT in a cookie, it's no different from any other session identifier.