https://github.com/aspnet-contrib/aspnet.security.openid.providers
OpenID 2.0 authentication middleware for ASP.NET Core
https://github.com/aspnet-contrib/aspnet.security.openid.providers
aspnetcore openid social-authentication
Last synced: 5 months ago
JSON representation
OpenID 2.0 authentication middleware for ASP.NET Core
- Host: GitHub
- URL: https://github.com/aspnet-contrib/aspnet.security.openid.providers
- Owner: aspnet-contrib
- License: apache-2.0
- Created: 2015-06-28T17:05:23.000Z (over 10 years ago)
- Default Branch: dev
- Last Pushed: 2025-05-14T12:33:05.000Z (5 months ago)
- Last Synced: 2025-05-14T13:52:15.671Z (5 months ago)
- Topics: aspnetcore, openid, social-authentication
- Language: PowerShell
- Homepage:
- Size: 1.1 MB
- Stars: 232
- Watchers: 14
- Forks: 42
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# 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](https://steampowered.com/)** or **[Wargaming](https://wargaming.net/)**. It is directly inspired by **[Jerrie Pelser](https://github.com/jerriep)**'s initiative, **[Owin.Security.Providers](https://github.com/RockstarLabs/OwinOAuthProviders)**.
**The latest official release can be found on [NuGet](https://www.nuget.org/profiles/aspnet-contrib) and the nightly builds on [MyGet](https://www.myget.org/gallery/aspnet-contrib)**.
[](https://github.com/aspnet-contrib/AspNet.Security.OpenId.Providers/actions/workflows/build.yml?query=event%3Apush+branch%3Adev)
## Getting started
**Adding external authentication to your application is a breeze** and just requires a few lines in your `Startup` class:
```csharp
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](https://github.com/aspnet-contrib/AspNet.Security.OpenId.Providers/tree/dev/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:
- **[Kévin Chalet](https://github.com/kevinchalet)** ([@kevin_chalet](https://twitter.com/kevin_chalet)).
- **[Martin Costello](https://github.com/martincostello)** ([@martin_costello](https://twitter.com/martin_costello)).We would love it if you could help contributing to this repository.
## Security policy
Please see [SECURITY.md](./.github/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](https://gitter.im/aspnet-contrib/AspNet.Security.OpenId.Providers)**
- **StackOverflow: [https://stackoverflow.com/questions/tagged/aspnet-contrib](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](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 | [](https://www.nuget.org/packages/AspNet.Security.OpenId/ "Download AspNet.Security.OpenId from NuGet.org") | [](https://www.myget.org/feed/aspnet-contrib/package/nuget/AspNet.Security.OpenId "Download AspNet.Security.OpenId from MyGet.org") | N/A |
| Steam | [](https://www.nuget.org/packages/AspNet.Security.OpenId.Steam/ "Download AspNet.Security.OpenId.Steam from NuGet.org") | [](https://www.myget.org/feed/aspnet-contrib/package/nuget/AspNet.Security.OpenId.Steam "Download AspNet.Security.OpenId.Steam from MyGet.org") | [Documentation](https://steamcommunity.com/dev "Steam developer documentation") |