django-spa-cookie-auth icon indicating copy to clipboard operation
django-spa-cookie-auth copied to clipboard

Four different approaches on how to authenticate Single-Page Applications (SPAs) with session-based authentication using Django.

Django SPA Cookie Auth

https://testdriven.io/blog/django-spa-auth/

  1. Django + React SPA served up via Django Templates
  2. Django + React SPA (same origin)
  3. Django + DRF + React SPA (same origin)
  4. Django + React SPA (cross origin)