Skip to content

aspnet-contrib/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:

public void ConfigureServices(IServiceCollection services)
{
    services.AddAuthentication()
        .UseSteam()
        .UseOpenId("StackExchange", "StackExchange", options =>
        {
            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

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 8