Microsoft.IdentityModel.Protocols.WsFederation 8.21.0

IdentityModel Extensions for .NET

Nuget

The IdentityModel Extensions for .NET library provides robust tools to enhance authentication and authorization workflows in your .NET applications. Backed by the Entra team, this library simplifies working with OpenID Connect (OIDC), OAuth2.0, and JSON Web Tokens (JWT) in .NET.

Whether you're building secure APIs, implementing token validation, or managing claims, this library is designed to handle the heavy lifting for you.

Why IdentityModel?

  • Widely Adopted: Trusted by thousands of developers to integrate OIDC and OAuth2.0 standards.
  • Secure by Design: Built with security as a priority to reduce common vulnerabilities.
  • Extensible: Easily extend or customize for advanced use cases.
  • Battle hardened: Validates 5+ trillion requests daily, and growing.

Versions

You can find the release notes for each version here. Older versions can be found here.

Version Lifecycle and Support Matrix

See Long Term Support policy for details.

Major Version Currently Supported Version Status
8.x from 8.0.1 to Nuget Active (Current) - Tied to .NET 9 (STS) & 10 (LTS) ~ Nov, 2028
7.x 7.7.1 Supported (LTS) through .NET 8 LTS lifetime Nov 10, 2026.
⚠️Versions < 7.7.1 not supported.
5.x 5.7.0 Supported (LTS), tied to the Microsoft.Owin.Security.JWT 4.2.2 lifetime.
⚠️Versions < 5.7.0 not supported.

IdentityModel 8.x

Version 8.x introduces significant updates and improvements:

  • Enhanced Performance: Optimized token validation to handle high-throughput scenarios.
  • .NET Compatibility: Fully compatible with .NET 9.

🧭LTS: Supported through .NET 9 LTS lifetime: May 12, 2026 + .NET 10 LTS (~3 years).

IdentityModel 7.x

IdentityModel 7x introduced several improvements related to serialization and consistency in the API, which provide a better user experience for developers, as well as full AOT compatibility on .NET, and considerable performance improvements compared to IdentityModel 6x.

🧭LTS: Supported through .NET 8 LTS lifetime: Nov 10, 2026.

⚡Recommendation: Move to 8.x.

IdentityModel 6.x

🧭Deprecated: Support ended with .NET 7 LTS lifetime: May 2024.

⚡Action: Move to 8.x.

IdentityModel 5.x

Not a recommended version

🧭LTS: Supported for Microsoft.Owin.Security.JWT

⚡Action: Move to 8.x.

Samples and Documentation

The scenarios supported by IdentityModel extensions for .NET are described in Scenarios. The libraries are in particular used part of ASP.NET security to validate tokens in ASP.NET Web Apps and Web APIs. To learn more about token validation, and find samples, see:

Community Help and Support

Report a bug or request a feature directly in the GitHub repo.

Have a design proposal? Please submit a design proposal before starting work on a PR to ensure it means the goals/objectives of this library and it's priorities.

We leverage Stack Overflow to work with the community on supporting Microsoft Entra and its SDKs, including this one! We highly recommend you ask your questions on Stack Overflow (we're all on there!) Also browse existing issues to see if someone has had your question before.

We recommend you use the "identityModel" tag so we can see it! Here is the latest Q&A on Stack Overflow for IdentityModel: https://stackoverflow.com/questions/tagged/identityModel

Security Reporting

See SECURITY.md

Contributing

All code is licensed under the MIT license and we triage actively on GitHub. We enthusiastically welcome contributions and feedback. See Contributing.md for guidelines, branch information, build instructions, and legalese.

License

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License (the "License");

We Value and Adhere to the Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Showing the top 20 packages that depend on Microsoft.IdentityModel.Protocols.WsFederation.

Packages Downloads
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow.
146
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/458d97420a173fe87487b58ec4aa47a4c9dc4710
147
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/5502cf46706a25c39ce78a57b9191714c0eb40c2
152
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/865acae3e95d5ade51b66ea578ba9d7764d562ba
159
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/9699b939f94b7524a178821d78addefa5af5d750
147
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/c75b3f7a2fb9fe21fd96c93c070fdfa88a2fbe97
160
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/e81033e094d4663ffd227bb4aed30b76b0631e6d
149
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/330c2397160929d6d3275ade03cee436265258e8
149
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/432e6a061f28dda696ba16bc5442328d23b25d93
146
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/610fe433e07b32ed451ed99d07df63be47c29050
145
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/6939d9ab90aa1e57bb0619bb28819f7bcbfdbb54
148
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/a4938d07a5127ffad8466ddf703a6b5b21f4b0c9
157
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/a5920c6656c9b8cef9e1f769c28062f0ade62f60
145
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/b92c9f50f0333ea661785ba849f303cde6a93844
164
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/bc25dd5d39fd057f7cb28acb5ad4d9e925a375de
145
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/cd9340856ed85215a911c97c44d52373f6cba2f9
149
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/d4a83b27a44c35c521600e1f30ef688c874415d4
149
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/d827c653b787c07de908240b7746ce34d3e6271e
147
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/da7e9894ce22ef8cc02e5acc56e95a6f8cf8f644
149
Microsoft.AspNetCore.Authentication.WsFederation
ASP.NET Core middleware that enables an application to support the WsFederation authentication workflow. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/e882394a7bb38930da748291fe2c2ceaa6a80588
159

Version Downloads Last updated
8.21.0 1 07/23/2026
8.20.0 1 07/22/2026
8.19.2 9 07/15/2026
8.19.1 20 06/04/2026
8.19.0 15 06/02/2026
8.18.0 31 05/01/2026
8.17.0 35 03/24/2026
8.16.0 46 02/15/2026
8.15.0 74 11/21/2025
8.14.0 106 08/17/2025
8.13.1 103 08/09/2025
8.13.0 113 07/22/2025
8.12.1 113 06/20/2025
8.12.0 119 06/04/2025
8.11.0 116 05/26/2025
8.10.0 99 05/19/2025
8.9.0 105 04/25/2025
8.8.0 126 04/12/2025
8.7.0 117 04/02/2025
8.6.1 121 03/31/2025
8.6.0 120 03/31/2025
8.5.0 112 03/31/2025
8.4.0 119 03/31/2025
8.3.1 143 03/31/2025
8.3.0 106 12/17/2024
8.2.1 110 11/19/2024
8.2.0 124 11/06/2024
8.1.2 109 10/17/2024
8.1.1 103 10/23/2024
8.1.0 108 12/19/2024
8.0.2 116 09/20/2024
8.0.1 135 08/03/2024
8.0.0 125 07/20/2024
8.0.0-preview1 132 07/20/2024
7.7.3 5 07/15/2026
7.7.2 13 06/04/2026
7.7.1 150 07/20/2024
7.7.0 139 07/20/2024
7.6.3 128 07/20/2024
7.6.2 138 07/20/2024
7.6.1 138 07/20/2024
7.6.0 134 07/20/2024
7.5.2 158 07/20/2024
7.5.1 150 07/20/2024
7.5.0 132 07/20/2024
7.4.1 143 07/20/2024
7.4.0 137 07/20/2024
7.4.0-preview1 143 07/20/2024
7.3.1 127 07/20/2024
7.3.0 135 07/20/2024
7.2.0 125 07/20/2024
7.1.2 145 07/20/2024
7.0.3 136 07/20/2024
7.0.2 133 07/20/2024
7.0.1 142 07/20/2024
7.0.0 144 07/20/2024
7.0.0-preview5 125 07/20/2024
7.0.0-preview4 126 07/20/2024
7.0.0-preview3 134 07/20/2024
7.0.0-preview2 128 07/20/2024
7.0.0-preview 131 07/20/2024
6.36.0 129 07/20/2024
6.35.1 130 07/20/2024
6.35.0 133 07/20/2024
6.34.0 133 07/20/2024
6.33.0 143 07/20/2024
6.32.3 143 07/20/2024
6.32.2 155 07/20/2024
6.32.1 140 07/20/2024
6.32.0 128 07/20/2024
6.31.0 151 07/20/2024
6.30.1 137 07/20/2024
6.30.0 129 07/20/2024
6.29.0 131 07/20/2024
6.28.1 137 07/20/2024
6.27.0 139 07/20/2024
6.26.1 141 07/20/2024
6.26.0 153 07/20/2024
6.25.1 168 07/20/2024
6.25.0 130 07/20/2024
6.24.0 141 07/20/2024
6.23.1 168 07/20/2024
6.23.0 142 07/20/2024
6.22.1 139 07/20/2024
6.22.0 145 07/20/2024
6.21.0 132 07/20/2024
6.20.0 146 07/20/2024
6.19.0 147 07/20/2024
6.18.0 133 07/20/2024
6.17.0 128 07/20/2024
6.16.0 151 07/20/2024
6.15.1 131 07/20/2024
6.15.0 152 07/20/2024
6.14.1 137 07/20/2024
6.14.0 127 07/20/2024
6.13.1 126 07/20/2024
6.12.2 123 07/20/2024
6.12.1 115 07/20/2024
6.12.0 145 07/20/2024
6.11.1 136 07/20/2024
6.11.0 149 07/20/2024
6.10.2 148 07/20/2024
6.10.1 138 07/20/2024
6.10.0 153 07/20/2024
6.9.0 132 07/20/2024
6.8.0 147 07/20/2024
6.7.2-preview-10803222715 134 07/20/2024
6.7.1 146 07/20/2024
6.6.0 146 07/20/2024
6.5.1 163 07/20/2024
6.5.0 147 07/20/2024
5.7.1 6 07/15/2026
5.7.0 130 07/20/2024
5.6.0 139 07/20/2024
5.5.0 132 07/20/2024
5.4.0 132 07/20/2024
5.3.0 131 07/20/2024
5.2.4 134 07/20/2024
5.2.2 159 07/20/2024
5.2.1 146 07/20/2024