Aeroverra.Authentication.OAuth.Kick
0.0.2
dotnet add package Aeroverra.Authentication.OAuth.Kick --version 0.0.2
NuGet\Install-Package Aeroverra.Authentication.OAuth.Kick -Version 0.0.2
<PackageReference Include="Aeroverra.Authentication.OAuth.Kick" Version="0.0.2" />
<PackageVersion Include="Aeroverra.Authentication.OAuth.Kick" Version="0.0.2" />
<PackageReference Include="Aeroverra.Authentication.OAuth.Kick" />
paket add Aeroverra.Authentication.OAuth.Kick --version 0.0.2
#r "nuget: Aeroverra.Authentication.OAuth.Kick, 0.0.2"
#:package Aeroverra.Authentication.OAuth.Kick@0.0.2
#addin nuget:?package=Aeroverra.Authentication.OAuth.Kick&version=0.0.2
#tool nuget:?package=Aeroverra.Authentication.OAuth.Kick&version=0.0.2
Aeroverra.Authentication.OAuth.Kick
ASP.NET Core security middleware enabling Kick OAuth 2.0 authentication, following the conventions of AspNet.Security.OAuth.Providers.
Install
dotnet add package Aeroverra.Authentication.OAuth.Kick
Usage
Create an application in the Kick developer settings and add
https://your-site/signin-kick as an allowed redirect URI, then:
builder.Services
.AddAuthentication(options =>
{
options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
})
.AddCookie()
.AddKick(options =>
{
options.ClientId = builder.Configuration["Kick:ClientId"]!;
options.ClientSecret = builder.Configuration["Kick:ClientSecret"]!;
});
Defaults
| Setting | Value |
|---|---|
| Authentication scheme | Kick |
| Callback path | /signin-kick |
| Authorization endpoint | https://id.kick.com/oauth/authorize |
| Token endpoint | https://id.kick.com/oauth/token |
| User information endpoint | https://api.kick.com/public/v1/users |
| Scopes | user:read |
| PKCE | Required by Kick, enabled by default |
Every scope supported by Kick (channel, chat, rewards, moderation, events, etc.) is available
as a constant on KickAuthenticationConstants.Scopes; add the ones you need through
options.Scope.Add(...).
Claims
| Claim | JSON field |
|---|---|
ClaimTypes.NameIdentifier |
user_id |
ClaimTypes.Name |
name |
ClaimTypes.Email |
email |
urn:kick:profilepicture (KickAuthenticationConstants.Claims.ProfileImageUrl) |
profile_picture |
More
Full documentation and source: Aeroverra/AeroAuthentication. An OpenIddict client flavor of this provider is also available in the same repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.