Short survey of other authentication providers

By Rick Anderson, Pranav Rastogi, and Valeriy Novytskyy

Here are set up instructions for some other common OAuth providers. Third-party NuGet packages such as the ones maintained by aspnet-contrib can be used to complement authentication providers implemented by the ASP.NET Core team.

Multiple authentication providers

When the app requires multiple providers, chain the provider extension methods behind AddAuthentication:

services.AddAuthentication()
    .AddMicrosoftAccount(microsoftOptions => { ... })
    .AddGoogle(googleOptions => { ... })
    .AddTwitter(twitterOptions => { ... })
    .AddFacebook(facebookOptions => { ... });