Skip to content

lukepfeiffer10/Discord.OAuth2

 
 

Repository files navigation

Discord.OAuth2

NuGet MyGet Build status

ASP.Net Core middleware that enables an application to support Discord's OAuth 2.0 authentication workflow.

Based on ASP.Net Core Facebook OAuth

Usage

services.AddAuthentication()
    .AddDiscord(x =>
    {
        x.AppId = Configuration["Discord:AppId"];
        x.AppSecret = Configuration["Discord:AppSecret"];
        x.Scope.Add("guilds");
    });

About

ASP.Net Core middleware that enables an application to support Discord's OAuth 2.0 authentication workflow.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%