Question d’entretien chez Auth0

How would you implement authentication for a single-page application?