![]() |
VOOZH | about |
dotnet add package AspNet.Security.OAuth.Airtable --version 10.0.0
NuGet\Install-Package AspNet.Security.OAuth.Airtable -Version 10.0.0
<PackageReference Include="AspNet.Security.OAuth.Airtable" Version="10.0.0" />
<PackageVersion Include="AspNet.Security.OAuth.Airtable" Version="10.0.0" />Directory.Packages.props
<PackageReference Include="AspNet.Security.OAuth.Airtable" />Project file
paket add AspNet.Security.OAuth.Airtable --version 10.0.0
#r "nuget: AspNet.Security.OAuth.Airtable, 10.0.0"
#:package AspNet.Security.OAuth.Airtable@10.0.0
#addin nuget:?package=AspNet.Security.OAuth.Airtable&version=10.0.0Install as a Cake Addin
#tool nuget:?package=AspNet.Security.OAuth.Airtable&version=10.0.0Install as a Cake Tool
AspNet.Security.OAuth.Providers is a collection of security middleware that you can use in your ASP.NET Core application to support social authentication providers like GitHub, Twitter/X or Dropbox. 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.
While the aspnet-contrib providers are still fully supported, developers are encouraged to use the OpenIddict client for new applications.
For information, see the Migrating to OpenIddict section.
Adding social authentication to your application is a breeze and just requires a few lines in your Startup class:
public void ConfigureServices(IServiceCollection services)
{
services.AddAuthentication(options => { /* Authentication options */ })
.AddGitHub(options =>
{
options.ClientId = "49e302895d8b09ea5656";
options.ClientSecret = "98f1bf028608901e9df91d64ee61536fe562064b";
});
}
public void Configure(IApplicationBuilder app)
{
app.UseAuthentication();
app.UseAuthorization();
}
See the /samples directory for a complete sample using ASP.NET Core MVC and supporting multiple social providers.
AspNet.Security.OAuth.Providers is actively maintained by:
We would love it if you could help contributing to this repository.
Special thanks to our contributors:
Please see for information about reporting security issues and bugs.
Need help or wanna share your thoughts? Don't hesitate to join us on Gitter or ask your question on StackOverflow:
This project is licensed under the Apache License. This means that you can use, modify and distribute it freely. See https://www.apache.org/licenses/LICENSE-2.0.html for more details.
The OpenIddict client and its 100+ web providers have significant advantages over the simpler OAuth 2.0-only authentication handler that is used by the aspnet-contrib providers:
Microsoft.Extensions.Http.Polly (or Microsoft.Extensions.Http.Resilience on .NET 8+)
to make backchannel HTTP communications less prone to transient network errors.For more information on how to get started with the OpenIddict web providers, you can read:
To contribute a new OpenIddict provider, visit Contributing a new Web provider.
Links to the latest stable and nightly NuGet packages for each provider, as well as a link to their integration documentation are listed in the table below.
Documentation for the providers' settings can be found .
If a provider you're looking for does not exist, consider making a PR to add one.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.