Owin/Katana Authentication Handler for Auth0. Plugs into the ASP.NET 4.5 Owin infrastructure (middleware) and extends default providers with more social providers such as Amazon, Facebook, GitHub, LinkedIn, LiveId, Google, Twitter, PayPal and vKontakte. Also integrates with Enterprise providers like any IdP that speaks SAML Protocol, ADFS, Google Apps, ADFS, Windows Azure AD, etc.
Note: ASP.NET Core support is available in the following repository https://github.com/auth0/auth0-aspnetcore
You can find the ASP.NET (OWIN) quickstart which utilizes this package on the Auth0 Documentation Website at https://auth0.com/docs/quickstart/webapp/aspnet-owin/
For using inside an ASP.NET MVC project you can install the Auth0-ASPNET-Owin
package:
Install-Package Auth0-ASPNET-Owin
The package above also installs an MVC controller which handles the callback from the server. If you want to use just the OWIN middleware, without any dependencies on MVC, then you can use the Auth0-ASPNET-Owin-Libs
package:
Install-Package Auth0-ASPNET-Owin-Libs
Please see this NuGet's README.
In this repository we've also included different Owin samples, using the Auth0 Authentication Handler or standards based (Bearer token, OpenID Connect, ...) handlers.
- ASP.NET 4 - MVC sample with Auth0-ASPNET-OWIN
- ASP.NET 4 - MVC seed project with Auth0-ASPNET-OWIN
- ASP.NET 4 - Web API sample with Bearer Tokens
If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.
This project is licensed under the MIT license. See the LICENSE file for more info.