© 2026 Hedgehog Software, LLC
builder.Services .AddAuthentication(opt => { opt.DefaultAuthenticateScheme = GoogleDefaults.AuthenticationScheme; opt.DefaultChallengeScheme = GoogleDefaults.AuthenticationScheme; }) .AddGoogle(opt => { opt.ClientId = builder.Configuration["Authentication:Google:ClientId"]; opt.ClientSecret = builder.Configuration["Authentication:Google:ClientSecret"]; });