Sollicitatievraag bij Auth0

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