JWT vs Session Tokens: Stateless vs Stateful Authentication Compared