aspnet-contrib / AspNet.Security.OAuth.Extensions

OAuth2 extensions for ASP.NET Core and OWIN/Katana
44 stars 19 forks source link
aspnetcore katana oauth2 openidconnect owin

AspNet.Security.OAuth.Extensions

:warning: This project has been merged into OpenIddict. For more information, read Introducing OpenIddict 3.0 beta1.

AspNet.Security.OAuth.Extensions is a collection of token validation middleware for ASP.NET Core 1.0 and OWIN/Katana.

The latest nightly builds can be found on MyGet.

Build status Build status

Get started

app.UseOAuthValidation(options =>
{
    options.Audiences.Add("resource_server");
});
app.UseOAuthIntrospection(options =>
{
    options.Authority = new Uri("https://openid.yourapp.com/");
    options.Audiences.Add("resource_server");
    options.ClientId = "resource_server";
    options.ClientSecret = "875sqd4s5d748z78z7ds1ff8zz8814ff88ed8ea4z4zzd";
});

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.OAuth.Extensions 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.