Skip to content

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

License

Notifications You must be signed in to change notification settings

Malven/Discord.OAuth2

Repository files navigation

Discord.OAuth2 v1.0.0

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

Based on the ASP.Net Core Facebook OAuth

Usage

app.UseDiscordAuthentication(new DiscordOptions
{
    AppId = Configuration["Discord:AppId"],
    AppSecret = Configuration["Discord:AppSecret"],
    Scope = { "identify", "guilds" }
});

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages