Creating A Django Middleware for JWT Authentication and SSO
Middlewares are tools that hooks into Django request and response life cycle. In this tutorial, generated with the assistance of ChatGPT, we will build a middleware for authentication using JWT (Json Web Tokens) and also for SSO (single sign on). Let us start Creating the Middleware import jwt from django.conf import settings from django.http import …
Creating A Django Middleware for JWT Authentication and SSO Read More »