AspNet.Security.OpenId 8.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AspNet.Security.OpenId --version 8.0.0                
NuGet\Install-Package AspNet.Security.OpenId -Version 8.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="8.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AspNet.Security.OpenId --version 8.0.0                
#r "nuget: AspNet.Security.OpenId, 8.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.
// Install AspNet.Security.OpenId as a Cake Addin
#addin nuget:?package=AspNet.Security.OpenId&version=8.0.0

// Install AspNet.Security.OpenId as a Cake Tool
#tool nuget:?package=AspNet.Security.OpenId&version=8.0.0                

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 net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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 377 11/12/2024
8.0.0 24,500 11/14/2023
7.0.0 33,231 11/7/2022
6.0.0 48,093 11/8/2021
5.0.0 25,609 11/10/2020
3.1.0 43,735 4/20/2020
3.0.0 8,140 10/14/2019
2.1.0 17,808 6/6/2019
2.0.0 66,413 6/18/2018
2.0.0-rc2-final 3,312 12/18/2017
1.0.0 1,625 6/18/2018
1.0.0-rc2-final 902 12/18/2017
1.0.0-rc1-final 1,871 5/8/2017
1.0.0-beta3-final 1,248 3/13/2017
1.0.0-beta2-final 32,235 11/30/2016
1.0.0-beta1-final 1,620 7/1/2016
1.0.0-alpha4-final 1,048 5/18/2016
1.0.0-alpha3 1,241 11/20/2015
1.0.0-alpha2 1,032 10/16/2015
1.0.0-alpha1 1,027 9/3/2015