Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 479 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 479 Bytes

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" }
});