Shiny.NET
Microsoft Authentication Library (MSAL)

Install

public class SampleStartup : FrameworkStartup
{
    protected override void Configure(ILoggingBuilder builder, IServiceCollection services)
    {
        services.UseMsal(new MsalConfiguration(
            Secrets.Values.MsalClientId,
            Secrets.Values.MsalScopes.Split(';')
        )
        {
        //    //TenantId = Secrets.Values.MsalTenantId,
        //    //UseBroker = true,
        //    //SignatureHash = Secrets.Values.MsalSignatureHash
        });
    }
}