Pregunta de entrevista de Gatik AI

How would you implement authentication in a backend API?