aspnet-contrib - AspNet.Security.OAuth.LinkedIn 9.0.0-preview.3.24211.70

ASP.NET Core security middleware enabling LinkedIn authentication.

PM> Install-Package AspNet.Security.OAuth.LinkedIn -Version 9.0.0-preview.3.24211.70 -Source https://www.myget.org/F/aspnet-contrib/api/v3/index.json

Copy to clipboard

> nuget.exe install AspNet.Security.OAuth.LinkedIn -Version 9.0.0-preview.3.24211.70 -Source https://www.myget.org/F/aspnet-contrib/api/v3/index.json

Copy to clipboard

> dotnet add package AspNet.Security.OAuth.LinkedIn --version 9.0.0-preview.3.24211.70 --source https://www.myget.org/F/aspnet-contrib/api/v3/index.json

Copy to clipboard
<PackageReference Include="AspNet.Security.OAuth.LinkedIn" Version="9.0.0-preview.3.24211.70" />
Copy to clipboard
source https://www.myget.org/F/aspnet-contrib/api/v3/index.json

nuget AspNet.Security.OAuth.LinkedIn  ~> 9.0.0-preview.3.24211.70
Copy to clipboard

> choco install AspNet.Security.OAuth.LinkedIn --version 9.0.0-preview.3.24211.70 --source https://www.myget.org/F/aspnet-contrib/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "aspnet-contrib" -SourceLocation "https://www.myget.org/F/aspnet-contrib/api/v2"
Install-Module -Name "AspNet.Security.OAuth.LinkedIn" -RequiredVersion "9.0.0-preview.3.24211.70" -Repository "aspnet-contrib" -AllowPreRelease
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/aspnet-contrib/api/v2/symbolpackage/


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

Build status

[!TIP] 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.

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:

Security policy

Please see SECURITY.md for information about reporting security issues and bugs.

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.

Migrating to OpenIddict

The OpenIddict client and its 75+ web providers have significant advantages over the simpler OAuth 2.0-only authentication handler that is used by the aspnet-contrib providers:

  • OpenIddict fully supports OpenID Connect, which allows enforcing additional security checks for providers that implement it.

  • The OpenIddict client is stateful and provides built-in countermeasures against nonce/token replay attacks.

  • While the aspnet-contrib providers only support the OAuth 2.0 code flow, the OpenIddict providers support additional flows, including the OpenID Connect hybrid flow, the OAuth 2.0 client credentials grant, the resource owner password credentials grant or the refresh token grant.

  • The OpenIddict client supports OAuth 2.0 token introspection and OAuth 2.0 token revocation.

  • OpenIddict uses OAuth 2.0 and OpenID Connect server configuration discovery to avoid hardcoding the endpoint URIs of a provider when possible, making the OpenIddict web providers more robust and more future-proof.

  • While the aspnet-contrib providers require targeting the latest ASP.NET Core version, the OpenIddict web providers can be used in any supported version. They can also be used in ASP.NET 4.6.1+ websites and Windows/Linux desktop applications.

  • OpenIddict uses 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.

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.

Documentation for the providers' settings can be found here.

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

Provider Stable Nightly Documentation
AdobeIO NuGet MyGet Documentation
Alipay NuGet MyGet Documentation
Amazon NuGet MyGet Documentation
amoCRM NuGet MyGet Documentation
Apple NuGet MyGet Documentation
ArcGIS NuGet MyGet Documentation
Asana NuGet MyGet Documentation
Autodesk NuGet MyGet Documentation
Baidu NuGet MyGet Documentation
Basecamp NuGet MyGet Documentation
BattleNet NuGet MyGet Documentation
Bitbucket NuGet MyGet Documentation
Buffer NuGet MyGet Documentation
CiscoSpark (Webex Teams) NuGet MyGet Documentation
Coinbase NuGet MyGet Documentation
DeviantArt NuGet MyGet Documentation
Deezer NuGet MyGet Documentation
DigitalOcean NuGet MyGet Documentation
Discord NuGet MyGet Documentation
Dropbox NuGet MyGet Documentation
eBay NuGet MyGet Documentation
EVEOnline NuGet MyGet Documentation
ExactOnline NuGet MyGet Documentation
Feishu NuGet MyGet Documentation
Fitbit NuGet MyGet Documentation
Foursquare NuGet MyGet Documentation
Gitee NuGet MyGet Documentation
GitHub NuGet MyGet Documentation
GitLab NuGet MyGet Documentation
Harvest NuGet MyGet Documentation
HealthGraph (Runkeeper) NuGet MyGet N/A
Huawei NuGet MyGet Documentation
HubSpot NuGet MyGet Documentation
Imgur NuGet MyGet Documentation
Instagram NuGet MyGet Documentation
JumpCloud NuGet MyGet Documentation
KakaoTalk NuGet MyGet Documentation
Keycloak NuGet MyGet Documentation
KOOK NuGet MyGet Documentation
Kroger NuGet MyGet Documentation
Lichess NuGet MyGet Documentation
Line NuGet MyGet Documentation
LinkedIn NuGet MyGet Documentation
MailChimp NuGet MyGet Documentation
MailRu NuGet MyGet Documentation
Mixcloud NuGet MyGet Documentation
Moodle NuGet MyGet Documentation
Myob NuGet MyGet Documentation
Naver NuGet MyGet Documentation
NetEase NuGet MyGet Documentation
Nextcloud NuGet MyGet Documentation User EndPoint Documentation
Notion NuGet MyGet Documentation
Odnoklassniki NuGet MyGet Documentation
Okta NuGet MyGet Documentation
Onshape NuGet MyGet N/A
Patreon NuGet MyGet Documentation
Paypal NuGet MyGet Documentation
PingOne NuGet MyGet Documentation
QQ NuGet MyGet Documentation
QuickBooks NuGet MyGet Documentation
Reddit NuGet MyGet Documentation
Salesforce NuGet MyGet Documentation
ServiceChannel NuGet MyGet Documentation
Shopify NuGet MyGet Documentation
Slack NuGet MyGet Documentation
Smartsheet NuGet MyGet Documentation
Snapchat NuGet MyGet Documentation
SoundCloud NuGet MyGet Documentation
Spotify NuGet MyGet Documentation
Stack Exchange NuGet MyGet Documentation
Strava NuGet MyGet Documentation
Streamlabs NuGet MyGet Documentation
SuperOffice NuGet MyGet Documentation
Trakt NuGet MyGet Documentation
Trovo NuGet MyGet Documentation
Twitch NuGet MyGet Documentation
Twitter 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
WorkWeixin (WeCom) NuGet MyGet Documentation
Xero NuGet MyGet Documentation
Xumm NuGet MyGet Documentation
Yahoo NuGet MyGet Documentation
Yammer NuGet MyGet Documentation
Yandex NuGet MyGet Documentation
Zalo NuGet MyGet Documentation
Zendesk NuGet MyGet Documentation
  • .NETFramework 9.0
  • .NETFramework 9.0: 9.0.0.0

Owners

Kévin Chalet aspnet-contrib

Authors

Kévin Chalet, Jerrie Pelser, Alvin Stanescu

Project URL

https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers

License

Apache-2.0

Tags

aspnetcore authentication linkedin oauth security

Info

0 total downloads
0 downloads for version 9.0.0-preview.3.24211.70
Download (28.13 KB)
Download symbols (16.18 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
9.0.0-preview.3.24211.70 28.13 KB Thu, 11 Apr 2024 17:28:28 GMT 0
9.0.0-preview.2.24211.54 28.14 KB Thu, 11 Apr 2024 13:27:36 GMT 0
9.0.0-preview.2.24172.52 27.24 KB Fri, 22 Mar 2024 12:56:22 GMT 0
9.0.0-preview.2.24162.89 27.24 KB Tue, 12 Mar 2024 22:20:06 GMT 0
9.0.0-preview.1.24162.89 27.25 KB Tue, 12 Mar 2024 22:15:25 GMT 0
9.0.0-preview.1.24129.76 27.24 KB Thu, 29 Feb 2024 19:00:25 GMT 0
9.0.0-preview.1.24129.55 27.25 KB Thu, 29 Feb 2024 13:45:59 GMT 0
8.0.1-preview.24216.25 28.17 KB Tue, 16 Apr 2024 06:15:00 GMT 0
8.0.1-preview.24215.27 28.16 KB Mon, 15 Apr 2024 06:37:24 GMT 0
8.0.1-preview.24209.78 28.15 KB Tue, 09 Apr 2024 19:20:30 GMT 0
8.0.0 27.26 KB Tue, 14 Nov 2023 16:01:43 GMT 0
7.0.4 19.74 KB Tue, 15 Aug 2023 14:28:55 GMT 0
7.0.3 19.74 KB Mon, 07 Aug 2023 07:52:44 GMT 0
7.0.2 19.73 KB Sun, 16 Apr 2023 17:09:12 GMT 0
7.0.1 19.73 KB Sun, 16 Apr 2023 09:33:55 GMT 0
7.0.0 19.73 KB Mon, 07 Nov 2022 20:00:57 GMT 0
6.0.15 19.64 KB Sun, 16 Apr 2023 09:33:50 GMT 0
6.0.14 19.63 KB Wed, 02 Nov 2022 15:21:04 GMT 0
6.0.13 19.64 KB Tue, 01 Nov 2022 14:55:04 GMT 0
6.0.12 19.64 KB Mon, 10 Oct 2022 14:40:32 GMT 0
6.0.11 19.64 KB Sun, 04 Sep 2022 17:54:57 GMT 0
6.0.10 19.64 KB Wed, 31 Aug 2022 21:20:20 GMT 0
6.0.9 19.64 KB Wed, 24 Aug 2022 07:44:26 GMT 0
6.0.8 19.65 KB Fri, 19 Aug 2022 15:42:07 GMT 0
6.0.7 19.64 KB Tue, 16 Aug 2022 09:10:16 GMT 0
6.0.6 19.63 KB Wed, 20 Apr 2022 14:30:24 GMT 0
6.0.5 19.63 KB Sun, 27 Mar 2022 09:10:36 GMT 0
6.0.4 19.64 KB Thu, 10 Feb 2022 09:45:28 GMT 0
6.0.3 19.64 KB Sat, 22 Jan 2022 09:45:23 GMT 0
6.0.2 19.63 KB Thu, 06 Jan 2022 17:14:21 GMT 0
6.0.1 19.64 KB Sat, 11 Dec 2021 13:25:24 GMT 0
6.0.0 18.51 KB Mon, 08 Nov 2021 09:21:44 GMT 0
5.0.18 18.49 KB Fri, 29 Oct 2021 11:58:31 GMT 0
5.0.17 18.49 KB Tue, 26 Oct 2021 16:56:58 GMT 0
5.0.16 18.5 KB Sat, 09 Oct 2021 13:59:16 GMT 0
5.0.15 18.5 KB Mon, 04 Oct 2021 07:48:01 GMT 0
5.0.14 18.5 KB Sat, 25 Sep 2021 16:33:35 GMT 0
5.0.13 18.49 KB Fri, 24 Sep 2021 11:09:39 GMT 0
5.0.12 18.5 KB Sat, 11 Sep 2021 10:33:42 GMT 0
5.0.11 18.48 KB Tue, 24 Aug 2021 09:10:19 GMT 0
5.0.10 18.5 KB Fri, 13 Aug 2021 07:59:43 GMT 0
5.0.9 18.5 KB Wed, 28 Jul 2021 15:05:25 GMT 0
5.0.8 18.5 KB Sun, 04 Jul 2021 15:05:02 GMT 0
5.0.7 18.49 KB Sun, 20 Jun 2021 11:32:36 GMT 0
5.0.6 18.5 KB Fri, 04 Jun 2021 18:33:37 GMT 0
5.0.5 18.5 KB Thu, 03 Jun 2021 08:32:14 GMT 0
5.0.4 18.5 KB Wed, 07 Apr 2021 14:03:29 GMT 0
5.0.3 18.51 KB Fri, 26 Mar 2021 09:00:03 GMT 0
5.0.2 18.51 KB Sat, 13 Mar 2021 16:11:14 GMT 0
5.0.1 18.5 KB Mon, 01 Feb 2021 19:08:07 GMT 0
5.0.0 18.49 KB Tue, 10 Nov 2020 16:26:13 GMT 0
3.1.8 18.59 KB Wed, 31 Aug 2022 21:09:52 GMT 0
3.1.7 18.6 KB Mon, 01 Feb 2021 19:00:11 GMT 0
3.1.6 18.53 KB Mon, 26 Oct 2020 08:55:28 GMT 0
3.1.5 18.52 KB Tue, 20 Oct 2020 12:45:16 GMT 0
3.1.4 18.54 KB Tue, 06 Oct 2020 17:37:00 GMT 0
3.1.3 28.18 KB Thu, 16 Jul 2020 07:29:17 GMT 0
3.1.2 28.16 KB Wed, 08 Jul 2020 13:15:27 GMT 0
3.1.1 28.14 KB Fri, 08 May 2020 13:20:32 GMT 0
3.1.0 28.13 KB Mon, 20 Apr 2020 17:55:22 GMT 0
3.0.0 26.62 KB Mon, 14 Oct 2019 12:53:22 GMT 0
2.2.2 17.67 KB Fri, 08 May 2020 13:06:51 GMT 0
2.2.1 17.68 KB Mon, 20 Apr 2020 17:37:58 GMT 0
2.2.0 17.68 KB Mon, 14 Oct 2019 12:48:29 GMT 0
2.1.0 17.68 KB Thu, 06 Jun 2019 17:47:13 GMT 0
2.0.1 11.05 KB Mon, 21 Jan 2019 16:01:04 GMT 0
2.0.0 10.88 KB Mon, 18 Jun 2018 20:59:44 GMT 0
1.0.1 22.21 KB Mon, 21 Jan 2019 15:57:00 GMT 0
1.0.0 22.22 KB Mon, 18 Jun 2018 20:55:17 GMT 0