django-spa-cookie-auth

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

Django-spa-cookie-auth Alternatives

Similar projects and alternatives to django-spa-cookie-auth based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better django-spa-cookie-auth alternative or higher similarity.

django-spa-cookie-auth reviews and mentions

Posts with mentions or reviews of django-spa-cookie-auth. We have used some of these posts to build our list of alternatives and similar projects.
  • CSRF with DRF and SPA?
    1 project | /r/django | 14 Dec 2022
    This guide and repo says that you should write an unprotected api route which returns a csrf token in the response body. Then your SPA should hit that route first, read the csrf token from the response body, then post a login requst.
  • Django Sessionbased Auth For Single Page Apps
    1 project | /r/django | 5 Jan 2021
    You call the api/csrf/ endpoint: https://github.com/duplxey/django-spa-cookie-auth/blob/master/django_react_cross_origin/frontend/src/App.js#L22

Stats

Basic django-spa-cookie-auth repo stats
2
126
2.6
9 months ago

duplxey/django-spa-cookie-auth is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of django-spa-cookie-auth is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com