baxeico / drf-authentication

Example project showing how to implement Django Rest Framework authentication in your web application by leveraging the built-in Django session framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example project showing how to implement Django Rest Framework authentication in your web application by leveraging the built-in Django session framework.

This approach is way simpler (and secure) than other popular methods such as JWT, and has only one requirement: your frontend (think Vue.js, React, ...) and your backend should be served by the same domain.

A more detailed explaination can be found in my tutorial:

About

Example project showing how to implement Django Rest Framework authentication in your web application by leveraging the built-in Django session framework.


Languages

Language:Python 100.0%