public static AuthenticationBuilder AddGithub(this AuthenticationBuilder authBuilder, NotifoIdentityOptions identityOptions) { if (identityOptions.IsGithubAuthConfigured()) { authBuilder.AddGitHub(options => { options.ClientId = identityOptions.GithubClient; options.ClientSecret = identityOptions.GithubSecret; }); } return(authBuilder); }