AspNet.Security.OpenId.Providers is a collection of security middleware that you can use in your ASP.NET Core 1.0 application to support OpenID 2.0 authentication providers like Steam, Wargaming or Orange. 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.
Adding external authentication to your application is a breeze and just requires a few lines in your Startup
class:
// Add Steam authentication support.
app.UseSteamAuthentication();
// Add StackExchange authentication support.
app.UseOpenIdAuthentication(options =>
{
options.AuthenticationScheme = "StackExchange";
options.DisplayName = "StackExchange";
options.Authority = new Uri("https://openid.stackexchange.com/");
options.CallbackPath = "/signin-stackexchange";
});
See https://github.com/aspnet-contrib/AspNet.Security.OpenId.Providers/tree/dev/samples/Mvc.Client for a complete sample using ASP.NET Core MVC and supporting multiple external providers.
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
AspNet.Security.OpenId.Providers is actively maintained by Kévin Chalet (@PinpointTownes) and Jerrie Pelser (@jerriepelser). Contributions are welcome and can be submitted using pull requests.
This project is licensed under the Apache License. This means that you can use, modify and distribute it freely. See http://www.apache.org/licenses/LICENSE-2.0.html for more details.