---
title: "sanjana kansal (@sanjana13) | Hashnode"
description: "Software Developer@Attentive. Read the latest articles by sanjana kansal on Hashnode."
url: "https://hashnode.com/@sanjana13"
---

@sanjana13

# sanjana kansal

@sanjana13 · Noida · Joined December 2021

Software Developer@Attentive

### [Step-by-Step JWT Authentication Implementation in Python - Part 3](https://sanjana.hashnode.dev/step-by-step-jwt-authentication-implementation-in-python-part-3?utm_source=hashnode&utm_medium=feed)

To understand how to use the tokens for authentication, let's create a middleware.py file in the app. This middleware will be responsible for handling token-based authentication and securing the protected routes. from django.utils.deprecation import ...

2 min read · [sanjana.hashnode.dev](https://sanjana.hashnode.dev/step-by-step-jwt-authentication-implementation-in-python-part-3?utm_source=hashnode&utm_medium=feed)

[Jul 27, 2023](https://hashnode.com/posts/step-by-step-jwt-authentication-implementation-in-python-part-3/64c2a81f0a37807f969db658)

### [Step-by-Step JWT Authentication Implementation in Python - Part 2](https://sanjana.hashnode.dev/step-by-step-jwt-authentication-implementation-in-python-part-2?utm_source=hashnode&utm_medium=feed)

Let's deep dive into creating the Login API. Update the validations.py. class LoginSchema(Schema): username = fields.Str(max\_length=255) email = fields.Str(max\_length=512, required=True) password = fields.Str(max\_length=512, required=Tru...

2 min read · [sanjana.hashnode.dev](https://sanjana.hashnode.dev/step-by-step-jwt-authentication-implementation-in-python-part-2?utm_source=hashnode&utm_medium=feed)

[Jul 27, 2023](https://hashnode.com/posts/step-by-step-jwt-authentication-implementation-in-python-part-2/64c2a534fb98298651935bac)

### [Step-by-Step JWT Authentication Implementation in Python - Part 1](https://sanjana.hashnode.dev/step-by-step-jwt-authentication-implementation-in-python-part-1?utm_source=hashnode&utm_medium=feed)

In this article, we will explore the concept of JWT authentication and learn how to implement it using PyJWT. Prior knowledge of Django and API building in Django is necessary to understand this article. JWT (JSON Web Token) is a token-based authenti...

4 min read · [sanjana.hashnode.dev](https://sanjana.hashnode.dev/step-by-step-jwt-authentication-implementation-in-python-part-1?utm_source=hashnode&utm_medium=feed)

[Jul 27, 2023](https://hashnode.com/posts/step-by-step-jwt-authentication-implementation-in-python-part-1/64c28e61c62d8b3763d30672)
