---
title: "Discussion on \"Step-by-Step JWT Authentication Implementation in Python - Part 3\" | Hashnode"
description: "Discussion on \"Step-by-Step JWT Authentication Implementation in Python - Part 3\". 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.\nfrom django.utils.deprecation import ..."
url: "https://hashnode.com/posts/step-by-step-jwt-authentication-implementation-in-python-part-3/64c2a81f0a37807f969db658"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [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 ...

Jul 27, 2023 · 2 min read · sanjana.hashnode.dev  
Updated Aug 9, 2023  
Read the article

-   [#jwt-tokenjson-webtokentoken-authenticationaccess-tokenjson-tokenjwt-securityjwt-authenticationtoken-based-authenticationjwt-decodingjwt-implementation](https://hashnode.com/tag/jwt-tokenjson-webtokentoken-authenticationaccess-tokenjson-tokenjwt-securityjwt-authenticationtoken-based-authenticationjwt-decodingjwt-implementation)

## Written by

[sanjana kansal](https://hashnode.com/@sanjana13)

@sanjana13 · Noida

  
[View profile](https://hashnode.com/@sanjana13)

Software Developer@Attentive

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
