---
title: "Discussion on \"Setting the user.request object to an Azure AD user\" | Hashnode"
description: "Discussion on \"Setting the user.request object to an Azure AD user\". Setting request.user to a Django user after someone logs in via Azure Active Directory."
url: "https://hashnode.com/posts/setting-the-userrequest-object-to-an-azure-ad-user/64e81798b2c08826653b1a14"
---

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

Discussion

# [Setting the user.request object to an Azure AD user](https://anjanesh.dev/setting-the-userrequest-object-to-an-azure-ad-user?utm_source=hashnode&utm_medium=feed)

Setting request.user to a Django user after someone logs in via Azure Active Directory.

Aug 25, 2023 · 2 min read · anjanesh.dev  
Read the article

-   [#django](https://hashnode.com/tag/django)
-   [#azure-active-directory](https://hashnode.com/tag/azure-active-directory)
-   [#middleware](https://hashnode.com/tag/middleware)
-   [#users](https://hashnode.com/tag/users)

## Written by

[Anjanesh Lekshminarayanan](https://hashnode.com/@anjanesh)

@anjanesh · Navi Mumbai, MH

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

Web UI Engineer

I am a web consultant from Navi Mumbai. Mainly dealt with LAMP stack, now into Django and getting into Laravel and Cloud. Founder of nerul.in and gaali.in

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
