Skip to content

egzonzeneli/AspNet.Security.OpenId.Providers

 
 

Repository files navigation

AspNet.Security.OpenId.Providers

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.

Build status Build status

Getting started

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.

Support

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

Contributors

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.

License

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.

About

OpenID 2.0 authentication middleware for ASP.NET Core

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 96.4%
  • PowerShell 2.0%
  • Shell 1.3%
  • Batchfile 0.3%