Skip to content

marc-mueller/AspNet.Security.OpenIdConnect.Server-MVC5Compatibility

 
 

Repository files navigation

AspNet.Security.OpenIdConnect.Server

AspNet.Security.OpenIdConnect.Server is an OpenID Connect server middleware that you can use in any ASP.NET 5 application and that works with the official OpenID Connect client middleware developed by Microsoft or with any standards-compliant OAuth2/OpenID Connect client.

The latest nightly builds can be found here: https://www.myget.org/F/aspnet-contrib/

Build status Build status

Dependencies

The current version relies on the latest version of ASP.NET 5 and the OpenID Connect extensions that can be found on MyGet.org:

Get started

Based on OAuthAuthorizationServerMiddleware from Katana 3, AspNet.Security.OpenIdConnect.Server exposes similar primitives and can be directly registered in Startup.cs using the UseOpenIdConnectServer extension method:

app.UseOpenIdConnectServer(options => {
    options.UseCertificate(certificate);
    options.Provider = new CustomAuthorizationProvider();
});

See https://github.com/aspnet-security/AspNet.Security.OpenIdConnect.Server/tree/vNext/samples/Mvc for a sample using MVC 6 and showing how to configure a new OpenID Connect server using a custom OpenIdConnectServerProvider implementation to validate client applications.

Support

Need help or wanna share your thoughts? Don't hesitate to join our dedicated chat rooms:

Contributors

AspNet.Security.OpenIdConnect.Server is actively maintained by Kévin Chalet. 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

OWIN/Katana and ASP.NET 5-based OpenID Connect/OAuth2 server

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 95.9%
  • JavaScript 2.4%
  • HTML 1.1%
  • Batchfile 0.3%
  • Shell 0.2%
  • CSS 0.1%