Use the Django auth system with a Single Page App (SPA)
Django tip:
Coupling Django with a front-end framework like React, Vue, or Angular? Use session cookies for auth (even cross-domain).
Why?
- It's easier since Django has a powerful built-in auth system
- It's safer than using JWTs and localStorage