$npx skillfedfor your agent

identity

This is an authentication/authorization library, currently optimized for web apps. It provides some higher level APIs built on top of Microsoft's MSAL Python.

With conditionsPyPI WWW/HTTPReleased Jul 2025224.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — identity-0.11.0-py3-none-any.whl
v0.11.0 · released 2025-07-07 · Python >=3.8 · 2 runtime deps: msal, requests

Yes, if you are building a Python web app that needs Microsoft Entra ID or Azure AD B2C authentication and are willing to accept the non-production disclaimer and aging maintenance status. The low install friction and permissive license make it a reasonable choice for reducing boilerplate, but verify thoroughly in your environment and monitor the repository for updates. Not recommended for production systems requiring official vendor support.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires app registration with Microsoft Entra ID or Azure AD B2C to obtain client_id and credentials; a redirect URI must be configured in your identity provider.
  • Low install friction with a pure-Python wheel distribution.
  • Maintenance status is aging—the last release was in 2025-07-07—but the repository remains active with recent commits and no archived status.

License · maintenance · safety

MIT (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute the package freely in commercial and private projects with minimal restrictions.

last release 2025-07-07 (403 days) · last repo commit 2025-08-18 · 63 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 224,318 downloads/mo, #9,234 on PyPI

Verify before relying

pip install "identity[flask]"

from identity import Identity

identity = Identity(client_id="your-client-id", client_credential="your-secret")
  • Whether the package's high-level API meaningfully reduces boilerplate compared to direct msal use in typical web app scenarios.
  • Current production readiness and stability given the aging maintenance status and explicit non-production disclaimer.
  • Support timeline and likelihood of migration to official Microsoft support, as mentioned in the disclaimer.
Same gist for agents: .md · .json

What it is and what it does

Identity is a wrapper around Microsoft's MSAL Python library that exposes a simpler, higher-level API for authenticating users in Python web applications against Microsoft identity platforms (Entra ID, Azure AD B2C, and variants). It handles session management, token renewal, incremental consent flows, and access token caching automatically, reducing the boilerplate needed to integrate Microsoft authentication into Flask, Django, or Quart apps.

The library is designed for web apps and currently supports sign-in/sign-out workflows and calling downstream web APIs with automatic token refresh. It is not officially supported by Microsoft and carries an explicit disclaimer recommending full testing before any production use. The package is in Beta status and has not seen a release since 2025-07-07, though the repository remains active.

Use it for

  • Add Microsoft Entra ID sign-in to a Python Flask or Django web app without writing low-level OAuth2 token handling code.
  • Implement Azure AD B2C authentication in a Python web application with automatic session renewal and consent management.
  • Build a web app that calls a downstream Microsoft-protected API on behalf of a signed-in user, with automatic token caching and refresh.
  • Migrate from direct msal usage to a higher-level abstraction when building multi-tenant web apps targeting Microsoft identity providers.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building a Python web app that needs Microsoft Entra ID or Azure AD B2C authentication and are willing to accept the non-production disclaimer and aging maintenance status.

The low install friction and permissive license make it a reasonable choice for reducing boilerplate, but verify thoroughly in your environment and monitor the repository for updates. Not recommended for production systems requiring official vendor support.

Install

identity on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Maintenance status is aging—the last release was in 2025-07-07—but the repository remains active with recent commits and no archived status. The package carries an explicit disclaimer that it is not officially supported by Microsoft and not intended for production use.

Requires app registration with Microsoft Entra ID or Azure AD B2C to obtain client_id and credentials; a redirect URI must be configured in your identity provider.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute the package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install "identity[flask]"

from identity import Identity

identity = Identity(client_id="your-client-id", client_credential="your-secret")

Verify before relying

  • Whether the package's high-level API meaningfully reduces boilerplate compared to direct msal use in typical web app scenarios.
  • Current production readiness and stability given the aging maintenance status and explicit non-production disclaimer.
  • Support timeline and likelihood of migration to official Microsoft support, as mentioned in the disclaimer.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
msalrequests
MaintenanceAging 403 days since the last release
Last repo commit
First released
Downloads224,318 / month, #9,234 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: identity-0.11.0-py3-none-any.whl

Tags

Capabilities
microsoft entra id authenticationazure ad python web appmsal wrapper librarypython oauth2 microsoftazure ad b2c sign-in
Topics
microsoft-identityoauth2-wrapper
PyPI keywords
identityauthauthenticationauthorization

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “azure ad python web app”

  • identityProvides a high-level authentication and authorization API for Python…
  • adalADAL for Python authenticates applications with Azure Active…
  • pulumi-azureadPulumi provider for Azure Active Directory that lets you define and…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also azure-identity-broker · fastapi-azure-auth · msal · streamlit-msal · adal · microsoft-agents-authentication-msal · redis-entraid · azure-identity · msal-extensions · msgraph-sdk