Skip to content

likethings/AspNet.Security.OAuth.Providers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AspNet.Security.OAuth.Providers

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, Foursquare 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.

Linux/macOS Windows
Build Status Build status Build status
Build History Build history Build history

Getting started

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.

Contributing

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:

Support

Need help or wanna share your thoughts? Don't hesitate to join us on Gitter or ask your question on StackOverflow:

License

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.

Providers

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.

If a provider you're looking for does not exist, consider making a PR to add one.

Provider Stable Nightly Documentation
Amazon NuGet MyGet Documentation
Apple NuGet MyGet Documentation
ArcGIS NuGet MyGet Documentation
Asana NuGet MyGet Documentation
Autodesk NuGet MyGet Documentation
Automatic NuGet MyGet Documentation
Baidu NuGet MyGet Documentation
BattleNet NuGet MyGet Documentation
Beam (Mixer) NuGet MyGet Documentation
Bitbucket NuGet MyGet Documentation
Buffer NuGet MyGet Documentation
CiscoSpark (Webex Teams) NuGet MyGet Documentation
DeviantArt NuGet MyGet Documentation
Discord NuGet MyGet Documentation
Dropbox NuGet MyGet Documentation
EVEOnline NuGet MyGet Documentation
Fitbit NuGet MyGet Documentation
Foursquare NuGet MyGet Documentation
GitHub NuGet MyGet Documentation
GitLab NuGet MyGet Documentation
Gitter NuGet MyGet Documentation
Harvest NuGet MyGet Documentation
HealthGraph (Runkeeper) NuGet MyGet N/A
Imgur NuGet MyGet Documentation
Instagram NuGet MyGet Documentation
LinkedIn NuGet MyGet Documentation
MailChimp NuGet MyGet Documentation
MailRu NuGet MyGet Documentation
Myob NuGet MyGet Documentation
Nextcloud NuGet MyGet Documentation User EndPoint Documentation
Odnoklassniki NuGet MyGet Documentation
Onshape NuGet MyGet N/A
Patreon NuGet MyGet Documentation
Paypal NuGet MyGet Documentation
QQ NuGet MyGet Documentation
Reddit NuGet MyGet Documentation
Salesforce NuGet MyGet Documentation
Shopify NuGet MyGet Documentation
Slack NuGet MyGet Documentation
SoundCloud NuGet MyGet Documentation
Spotify NuGet MyGet Documentation
Stack Exchange NuGet MyGet Documentation
Strava NuGet MyGet Documentation
Trakt NuGet MyGet Documentation
Twitch NuGet MyGet Documentation
Untappd NuGet MyGet Documentation
Vimeo NuGet MyGet Documentation
Visual Studio (Azure DevOps) NuGet MyGet Documentation
Vkontakte NuGet MyGet Documentation
Weibo NuGet MyGet Documentation
Weixin (WeChat) NuGet MyGet Documentation
WordPress NuGet MyGet Documentation
Yahoo NuGet MyGet Documentation
Yammer NuGet MyGet Documentation
Yandex NuGet MyGet Documentation
Zalo NuGet MyGet Documentation

About

OAuth2 social authentication providers for ASP.NET Core

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 81.1%
  • PowerShell 11.7%
  • Shell 6.4%
  • Other 0.8%