diff --git a/Core.Thalos.BuildingBlocks/Common/Constants/Secrets.cs b/Core.Thalos.BuildingBlocks/Common/Constants/Secrets.cs index 4a221ee..67956d0 100644 --- a/Core.Thalos.BuildingBlocks/Common/Constants/Secrets.cs +++ b/Core.Thalos.BuildingBlocks/Common/Constants/Secrets.cs @@ -58,5 +58,6 @@ namespace Core.Thalos.BuildingBlocks public const string GoogleClientId = "GoogleClientId"; public const string GoogleClientSecret = "GoogleClientSecret"; public const string GoogleRedirectUri = "GoogleRedirectUri"; + public const string GoogleLocalRedirectUri = "GoogleLocalRedirectUri"; } } diff --git a/Core.Thalos.BuildingBlocks/Helpers/AuthHelper.cs b/Core.Thalos.BuildingBlocks/Helpers/AuthHelper.cs index effb3ef..8b3b3cf 100644 --- a/Core.Thalos.BuildingBlocks/Helpers/AuthHelper.cs +++ b/Core.Thalos.BuildingBlocks/Helpers/AuthHelper.cs @@ -112,7 +112,7 @@ namespace Core.Thalos.BuildingBlocks { googleSettings.ClientId = (await keyVaultProvider.GetSecretAsync(Secrets.GoogleClientId, new CancellationToken { })).Secret.Value; ; googleSettings.ClientSecret = (await keyVaultProvider.GetSecretAsync(Secrets.GoogleClientSecret, new CancellationToken { })).Secret.Value; - googleSettings.RedirectUri = builder.Configuration.GetSection(Secrets.GoogleRedirectUri).Value; + googleSettings.RedirectUri = builder.Configuration.GetSection(Secrets.GoogleLocalRedirectUri).Value; } else {