AspNet.Security.OpenId 9.0.0

dotnet add package AspNet.Security.OpenId --version 9.0.0
                    
NuGet\Install-Package AspNet.Security.OpenId -Version 9.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AspNet.Security.OpenId" Version="9.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AspNet.Security.OpenId" Version="9.0.0" />
                    
Directory.Packages.props
<PackageReference Include="AspNet.Security.OpenId" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AspNet.Security.OpenId --version 9.0.0
                    
#r "nuget: AspNet.Security.OpenId, 9.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AspNet.Security.OpenId@9.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AspNet.Security.OpenId&version=9.0.0
                    
Install as a Cake Addin
#tool nuget:?package=AspNet.Security.OpenId&version=9.0.0
                    
Install as a Cake Tool

AspNet.Security.OpenId.Providers

AspNet.Security.OpenId.Providers is a collection of security middleware that you can use in your ASP.NET Core application to support OpenID 2.0 authentication providers like Steam or Wargaming. It is directly inspired by Jerrie Pelser's initiative, Owin.Security.Providers.

The latest official release can be found on NuGet and the nightly builds on MyGet.

Build status

Getting started

Adding external authentication to your application is a breeze and just requires a few lines in your Startup class:

public void ConfigureServices(IServiceCollection services)
{
    services.AddAuthentication(options => { /* Authentication options */ })
            .AddSteam()
            .AddOpenId("StackExchange", "StackExchange", options =>
            {
                options.Authority = new Uri("https://openid.stackexchange.com/");
                options.CallbackPath = "/signin-stackexchange";
            });
}

public void Configure(IApplicationBuilder app)
{
    app.UseAuthentication();
}

See the /samples directory for a complete sample using ASP.NET Core MVC and supporting multiple external providers.

Contributing

AspNet.Security.OpenId.Providers is actively maintained by:

We would love it if you could help contributing to this repository.

Security policy

Please see SECURITY.md for information about reporting security issues and bugs.

Support

Need help or wanna share your thoughts? Don't hesitate to join us on Gitter or ask your question on StackOverflow:

License

This project is licensed under the Apache License. This means that you can use, modify and distribute it freely. See https://www.apache.org/licenses/LICENSE-2.0.html for more details.

Providers

Links to the latest stable and nightly NuGet packages for each provider, as well as a link to their integration documentation are listed in the table below.

If a provider you're looking for does not exist, consider making a PR to add one.

Provider Stable Nightly Documentation
OpenId NuGet MyGet N/A
Steam NuGet MyGet Documentation
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on AspNet.Security.OpenId:

Package Downloads
AspNet.Security.OpenId.Steam

ASP.NET Core authentication middleware for Steam.

Zen.Web.Auth

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.0.0 13,131 11/12/2024
8.0.0 46,169 11/14/2023
7.0.0 35,297 11/7/2022
6.0.0 53,339 11/8/2021
5.0.0 26,075 11/10/2020
3.1.0 47,762 4/20/2020
3.0.0 8,260 10/14/2019
2.1.0 18,147 6/6/2019
2.0.0 66,827 6/18/2018
2.0.0-rc2-final 3,533 12/18/2017
1.0.0 1,951 6/18/2018
1.0.0-rc2-final 1,121 12/18/2017
1.0.0-rc1-final 2,091 5/8/2017
1.0.0-beta3-final 1,475 3/13/2017
1.0.0-beta2-final 32,462 11/30/2016
1.0.0-beta1-final 1,854 7/1/2016
1.0.0-alpha4-final 1,283 5/18/2016
1.0.0-alpha3 1,472 11/20/2015
1.0.0-alpha2 1,270 10/16/2015
1.0.0-alpha1 1,261 9/3/2015