Web Auth Fix
This commit is contained in:
@@ -14,6 +14,8 @@ var apiBaseUrl = builder.Configuration["ApiSettings:BaseUrl"]
|
|||||||
?? throw new InvalidOperationException("ApiSettings:BaseUrl is not configured");
|
?? throw new InvalidOperationException("ApiSettings:BaseUrl is not configured");
|
||||||
builder.Services.AddSharedServices(apiBaseUrl);
|
builder.Services.AddSharedServices(apiBaseUrl);
|
||||||
|
|
||||||
|
builder.Services.AddScoped<IGoogleAuthService, WebGoogleAuthService>();
|
||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
if (!app.Environment.IsDevelopment())
|
if (!app.Environment.IsDevelopment())
|
||||||
|
|||||||
Reference in New Issue
Block a user