diff --git a/CyberBoom/Program.cs b/CyberBoom/Program.cs index 152b400..815929c 100644 --- a/CyberBoom/Program.cs +++ b/CyberBoom/Program.cs @@ -52,12 +52,12 @@ builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) // валидация ключа безопасности ValidateIssuerSigningKey = true, }; - }) -.AddGoogle(googleOptions => -{ - googleOptions.ClientId = configuration["Authentication:Google:ClientId"] ?? throw new NullReferenceException(""); - googleOptions.ClientSecret = configuration["Authentication:Google:ClientSecret"] ?? throw new NullReferenceException(""); -}); + }); +// .AddGoogle(googleOptions => +// { +// googleOptions.ClientId = configuration["Authentication:Google:ClientId"] ?? throw new NullReferenceException(""); +// googleOptions.ClientSecret = configuration["Authentication:Google:ClientSecret"] ?? throw new NullReferenceException(""); +// }); // builder.Services.AddDefaultIdentity(options => options.SignIn.RequireConfirmedAccount = true) // .AddEntityFrameworkStores();