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
<PackageReference Include="AspNet.Security.OpenId" Version="9.0.0" />
paket add AspNet.Security.OpenId --version 9.0.0
#r "nuget: AspNet.Security.OpenId, 9.0.0"
// Install AspNet.Security.OpenId as a Cake Addin #addin nuget:?package=AspNet.Security.OpenId&version=9.0.0 // Install AspNet.Security.OpenId as a Cake Tool #tool nuget:?package=AspNet.Security.OpenId&version=9.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.
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:
- Gitter: https://gitter.im/aspnet-contrib/AspNet.Security.OpenId.Providers
- StackOverflow: https://stackoverflow.com/questions/tagged/aspnet-contrib
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 | N/A | ||
Steam | Documentation |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.0
- AngleSharp (>= 1.1.2)
- Microsoft.IdentityModel.Protocols (>= 8.0.0)
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 | 261 | 11/12/2024 |
8.0.0 | 24,126 | 11/14/2023 |
7.0.0 | 33,186 | 11/7/2022 |
6.0.0 | 47,996 | 11/8/2021 |
5.0.0 | 25,577 | 11/10/2020 |
3.1.0 | 43,666 | 4/20/2020 |
3.0.0 | 8,140 | 10/14/2019 |
2.1.0 | 17,807 | 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,233 | 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 |