retrieve redirec uri gogle from app settings
This commit is contained in:
parent
9b7e55c439
commit
8cfbad61fb
@ -58,5 +58,6 @@ namespace Core.Thalos.BuildingBlocks
|
|||||||
public const string GoogleClientId = "GoogleClientId";
|
public const string GoogleClientId = "GoogleClientId";
|
||||||
public const string GoogleClientSecret = "GoogleClientSecret";
|
public const string GoogleClientSecret = "GoogleClientSecret";
|
||||||
public const string GoogleRedirectUri = "GoogleRedirectUri";
|
public const string GoogleRedirectUri = "GoogleRedirectUri";
|
||||||
|
public const string GoogleLocalRedirectUri = "GoogleLocalRedirectUri";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -112,7 +112,7 @@ namespace Core.Thalos.BuildingBlocks
|
|||||||
{
|
{
|
||||||
googleSettings.ClientId = (await keyVaultProvider.GetSecretAsync(Secrets.GoogleClientId, new CancellationToken { })).Secret.Value; ;
|
googleSettings.ClientId = (await keyVaultProvider.GetSecretAsync(Secrets.GoogleClientId, new CancellationToken { })).Secret.Value; ;
|
||||||
googleSettings.ClientSecret = (await keyVaultProvider.GetSecretAsync(Secrets.GoogleClientSecret, 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
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user