From b66e0edda7dc0e23799400c04df29d49c2e31bd1 Mon Sep 17 00:00:00 2001 From: Vitalick Kovalenko Date: Sat, 23 Dec 2023 02:00:59 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CyberBoom/Program.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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();