Pregunta de entrevista de FreshWorks Studio

How would authenticate a user? explain jwt and how it works.