AspNet.Security.OAuth.Twitch 8.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AspNet.Security.OAuth.Twitch --version 8.3.0                
NuGet\Install-Package AspNet.Security.OAuth.Twitch -Version 8.3.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.Twitch" Version="8.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AspNet.Security.OAuth.Twitch --version 8.3.0                
#r "nuget: AspNet.Security.OAuth.Twitch, 8.3.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.
// Install AspNet.Security.OAuth.Twitch as a Cake Addin
#addin nuget:?package=AspNet.Security.OAuth.Twitch&version=8.3.0

// Install AspNet.Security.OAuth.Twitch as a Cake Tool
#tool nuget:?package=AspNet.Security.OAuth.Twitch&version=8.3.0                

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
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
Autodesk NuGet MyGet Documentation
Baidu NuGet MyGet Documentation
Basecamp NuGet MyGet Documentation
BattleNet 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
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
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
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
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 Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on AspNet.Security.OAuth.Twitch:

Package Downloads
FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

OAuthServer.NET

OAuthServer.NET is a simple yet scalable OAuth 2.0 provider for the 4 standard types of OAuth 2.0 as well as custom grants. OAuthServer.NET supports implicit, authorization code, resource owner password, and client credentials as well as 3rd party logins. OAuthServer.NET is integrated with the Asp.NET Identity system and includes the ability for full managemant of accounts. OAuthServer.NET includes a UI (created in Angular) for easily setting up and configuring clients. OAuthServer.NET is easily deployed through Docker, NuGet, or can be modified directly from the source https://github.com/liveordevtrying/oauthserver.net. OAuthServer.NET is dependent on SQL server, Entity Framework, and the Asp.NET Identity System.

GitHub repositories (1)

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

Repository Stars
csharpfritz/csharp_with_csharpfritz
Show notes, slides, and samples from the CSharp with CSharpFritz show
Version Downloads Last updated
9.0.0 918 11/12/2024
8.3.0 177 11/7/2024
8.2.0 1,911 9/14/2024
8.1.0 3,270 6/14/2024
8.0.0 7,143 11/14/2023
7.0.4 6,752 8/15/2023
7.0.3 4,817 8/7/2023
7.0.2 16,880 4/16/2023
7.0.1 1,100 4/16/2023
7.0.0 29,175 11/7/2022
6.0.15 1,547 4/16/2023
6.0.14 3,084 11/2/2022
6.0.13 1,263 11/1/2022
6.0.12 1,439 10/10/2022
6.0.11 35,760 9/4/2022
6.0.10 1,479 8/31/2022
6.0.9 1,553 8/24/2022
6.0.8 25,035 8/19/2022
6.0.7 1,339 8/16/2022
6.0.6 576,618 4/20/2022
6.0.5 1,991 3/27/2022
6.0.4 10,304 2/10/2022
6.0.3 1,996 1/22/2022
6.0.2 1,361 1/6/2022
6.0.1 1,606 12/11/2021
6.0.0 3,241 11/8/2021
5.0.18 7,267 10/29/2021
5.0.17 1,413 10/26/2021
5.0.16 2,238 10/9/2021
5.0.15 1,398 10/4/2021
5.0.14 1,439 9/25/2021
5.0.13 1,253 9/24/2021
5.0.12 1,426 9/11/2021
5.0.11 1,717 8/24/2021
5.0.10 1,474 8/13/2021
5.0.9 1,671 7/28/2021
5.0.8 1,654 7/4/2021
5.0.7 1,634 6/20/2021
5.0.6 1,445 6/4/2021
5.0.5 1,333 6/3/2021
5.0.4 2,136 4/7/2021
5.0.3 1,687 3/26/2021
5.0.2 1,622 3/13/2021
5.0.1 1,858 2/1/2021
5.0.0 4,294 11/10/2020
3.1.8 1,325 8/31/2022
3.1.7 2,728 2/1/2021
3.1.6 8,064 10/26/2020
3.1.5 1,698 10/20/2020
3.1.4 2,076 10/6/2020
3.1.3 3,240 7/16/2020
3.1.2 1,750 7/8/2020
3.1.1 3,853 5/8/2020
3.1.0 1,598 4/20/2020
3.0.0 2,698 10/14/2019
2.2.2 1,733 5/8/2020
2.2.1 1,573 4/20/2020
2.2.0 1,665 10/14/2019
2.1.0 3,456 6/6/2019
2.0.1 13,565 1/21/2019
2.0.0 2,649 6/18/2018
2.0.0-rc2-final 1,885 12/18/2017
1.0.1 1,737 1/21/2019
1.0.0 2,096 6/18/2018
1.0.0-rc2-final 1,818 12/18/2017
1.0.0-rc1-final 2,014 5/8/2017
1.0.0-beta3-final 1,809 3/13/2017
1.0.0-beta2-final 1,900 11/30/2016
1.0.0-beta1-final 1,744 7/1/2016
1.0.0-alpha4-final 1,874 5/18/2016
1.0.0-alpha3 1,982 11/20/2015