Fix Google OAuth redirect URI configuration to resolve authentication error
Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com>
This commit is contained in:
parent
fa96e57163
commit
0fac698803
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ builder.Services.AddAuthentication(options =>
|
||||||
{
|
{
|
||||||
googleOptions.ClientId = builder.Configuration["Authentication:Google:ClientId"] ?? "";
|
googleOptions.ClientId = builder.Configuration["Authentication:Google:ClientId"] ?? "";
|
||||||
googleOptions.ClientSecret = builder.Configuration["Authentication:Google:ClientSecret"] ?? "";
|
googleOptions.ClientSecret = builder.Configuration["Authentication:Google:ClientSecret"] ?? "";
|
||||||
|
googleOptions.CallbackPath = "/api/auth/callback";
|
||||||
});
|
});
|
||||||
|
|
||||||
// Configure authorization policy for allowed emails
|
// Configure authorization policy for allowed emails
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue