VOOZH about

URL: https://www.nuget.org/packages/AspNet.Security.OAuth.GitHub/

โ‡ฑ NuGet Gallery | AspNet.Security.OAuth.GitHub 10.0.0


๏ปฟ

๐Ÿ‘ Image
AspNet.Security.OAuth.GitHub 10.0.0

dotnet add package AspNet.Security.OAuth.GitHub --version 10.0.0
 
 
NuGet\Install-Package AspNet.Security.OAuth.GitHub -Version 10.0.0
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AspNet.Security.OAuth.GitHub" Version="10.0.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AspNet.Security.OAuth.GitHub" Version="10.0.0" />
 
Directory.Packages.props
<PackageReference Include="AspNet.Security.OAuth.GitHub" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AspNet.Security.OAuth.GitHub --version 10.0.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AspNet.Security.OAuth.GitHub, 10.0.0"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AspNet.Security.OAuth.GitHub@10.0.0
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AspNet.Security.OAuth.GitHub&version=10.0.0
 
Install as a Cake Addin
#tool nuget:?package=AspNet.Security.OAuth.GitHub&version=10.0.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

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 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 100+ 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 .

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
Airtable ๐Ÿ‘ 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
Atlassian ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Autodesk ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Baidu ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Basecamp ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
BattleNet ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Bilibili ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Bitbucket ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Buffer ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Calendly ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
CiscoSpark (Webex Teams) ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Coinbase ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Contentful ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
DeviantArt ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Deezer ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
DigitalOcean ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Discord ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Docusign ๐Ÿ‘ 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
GitCode ๐Ÿ‘ 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
Linear ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
LinkedIn ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
MailChimp ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
MailRu ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Miro ๐Ÿ‘ 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
Pipedrive ๐Ÿ‘ 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
Typeform ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Untappd ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Vimeo ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Visual Studio (Azure DevOps) ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
VK ID ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Vkontakte ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Webflow ๐Ÿ‘ 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
Zoho ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
Zoom ๐Ÿ‘ NuGet
๐Ÿ‘ MyGet
Documentation
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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (29)

Showing the top 5 NuGet packages that depend on AspNet.Security.OAuth.GitHub:

Package Downloads
FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

CyberEye.Common.Lib

Package chแปฉa cรกc hร m tiแป‡n รญch, cรกc base class, abstract class

IdentityServer4MicroService

MicroService based on IdentityServer4 + Azure API Management

OAuthApp

OAuth2.0็š„Saas็”จๆˆทไธญๅฟƒๆก†ๆžถใ€‚

CyberEye.Identity.Lib

Package chแปฉa cรกc thฦฐ viแป‡n, hร m tiแป‡n รญch, class model vแป ASP.NET Identity

GitHub repositories (29)

Showing the top 20 popular GitHub repositories that depend on AspNet.Security.OAuth.GitHub:

Repository Stars
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
skoruba/IdentityServer4.Admin
The administration for the IdentityServer4 and Asp.Net Core Identity
davidfowl/TodoApp
Todo application with ASP.NET Core Blazor WASM, Minimal APIs and Authentication
SciSharp/BotSharp
AI Multi-Agent Framework in .NET
Squidex/squidex
Headless CMS and Content Managment Hub
servicetitan/Stl.Fusion
Build real-time apps (Blazor included) with less than 1% of extra code responsible for real-time updates. Host 10-1000x faster APIs relying on transparent and nearly 100% consistent caching. We call it DREAM, or Distributed REActive Memoization, and it's here to turn real-time on!
bitfoundation/bitplatform
Build all of your apps using what you already know and love โค๏ธ
colinin/abp-next-admin
่ฟ™ๆ˜ฏๅŸบไบŽvue-vben-admin ๆจกๆฟ้€‚็”จไบŽabp vNext็š„ๅ‰็ซฏ็ฎก็†้กน็›ฎ
notifo-io/notifo
Multi channel notification service for collaboration tools, e-commerce, news service and more.
luoyunchong/lin-cms-dotnetcore
๐Ÿ˜ƒA simple and practical CMS implemented by .NET + FreeSql๏ผ›ๅ‰ๅŽ็ซฏๅˆ†็ฆปใ€Docker้ƒจ็ฝฒใ€OAtuh2ๆŽˆๆƒ็™ปๅฝ•ใ€่‡ชๅŠจๅŒ–้ƒจ็ฝฒDevOpsใ€่‡ชๅŠจๅŒๆญฅ่‡ณGiteeใ€ไปฃ็ ็”Ÿๆˆๅ™จใ€ไปฟๆŽ˜้‡‘ไธ“ๆ 
skoruba/Duende.IdentityServer.Admin
Modern admin UI for Duende IdentityServer and ASP.NET Core Identity ๐Ÿš€
csharpfritz/csharp_with_csharpfritz
Show notes, slides, and samples from the CSharp with CSharpFritz show
martincostello/dotnet-minimal-api-integration-testing
An example of integration testing ASP.NET Core Minimal hosting and APIs
solenovex/Identity-Server-4-Tutorial-Demo-Code
Identity Server 4 ่ง†้ข‘ๆ•™็จ‹้…ๅฅ—ๆบ็ 
FirelyTeam/spark
Firely and Incendi's open source FHIR server
formcms/formcms
AI Agent: Open-source headless CMS built with ASP.NET Core (C#) and React, featuring REST APIs, GraphQL, and a GrapesJS page designer.
TheUltimateC0der/listrr
listrr.pro creates and maintains lists on trakt.tv completely automated based on your filters.
VirtoCommerce/vc-storefront
Virto Commerce Storefront - ASP.NET Core 8.0
bitbound/ControlR
Open-source, self-hostable remote control and remote access.
nnecrkvenuOX/formcms
AI Agent: Open-source headless CMS built with ASP.NET Core (C#) and React, featuring REST APIs, GraphQL, and a GrapesJS page designer.
Version Downloads Last Updated
10.0.0 191,450 11/11/2025
9.4.1 36,632 9/30/2025
9.4.0 64,984 5/21/2025
9.3.0 11,108 5/1/2025
9.2.0 19,301 3/23/2025
9.1.0 5,596 3/14/2025
9.0.0 70,700 11/12/2024
8.3.0 88,354 11/7/2024
8.2.0 48,665 9/14/2024
8.1.0 71,324 6/14/2024
8.0.0 172,947 11/14/2023
7.0.4 51,280 8/15/2023
7.0.3 12,950 8/7/2023
7.0.2 59,408 4/16/2023
7.0.1 2,507 4/16/2023
7.0.0 72,702 11/7/2022
6.0.15 101,529 4/16/2023
6.0.14 15,099 11/2/2022
6.0.13 1,451 11/1/2022
6.0.12 6,584 10/10/2022
Loading failed