Question 3
What is the main advantage of using JWT over session-based authentication?
JWTs require server-side storage for each session.
JWTs are stateless and eliminate the need for server-side session storage.
JWTs are longer and contain more data than session IDs.
JWTs automatically handle token expiration without additional logic.