Remove hard-coded values from Identity srv configuration
This commit is contained in:
parent
d2c950d94e
commit
d18b3581a6
@ -60,7 +60,7 @@ namespace Identity.API.Configuration
|
|||||||
AllowAccessTokensViaBrowser = true,
|
AllowAccessTokensViaBrowser = true,
|
||||||
RedirectUris = { clientsUrl["Xamarin"] },
|
RedirectUris = { clientsUrl["Xamarin"] },
|
||||||
RequireConsent = false,
|
RequireConsent = false,
|
||||||
PostLogoutRedirectUris = { "http://13.88.8.119:5105/Account/Redirecting", "http://10.6.1.234:5105/Account/Redirecting" },
|
PostLogoutRedirectUris = { $"{clientsUrl["Xamarin"]}/Account/Redirecting" },
|
||||||
AllowedCorsOrigins = { "http://eshopxamarin" },
|
AllowedCorsOrigins = { "http://eshopxamarin" },
|
||||||
AllowedScopes =
|
AllowedScopes =
|
||||||
{
|
{
|
||||||
@ -84,15 +84,11 @@ namespace Identity.API.Configuration
|
|||||||
AllowOfflineAccess = true,
|
AllowOfflineAccess = true,
|
||||||
RedirectUris = new List<string>
|
RedirectUris = new List<string>
|
||||||
{
|
{
|
||||||
$"{clientsUrl["Mvc"]}/signin-oidc",
|
$"{clientsUrl["Mvc"]}/signin-oidc"
|
||||||
"http://104.40.62.65:5100/signin-oidc",
|
|
||||||
"http://localhost:5100/signin-oidc",
|
|
||||||
"http://13.88.8.119:5100/signin-oidc"
|
|
||||||
},
|
},
|
||||||
PostLogoutRedirectUris = new List<string>
|
PostLogoutRedirectUris = new List<string>
|
||||||
{
|
{
|
||||||
$"{clientsUrl["Mvc"]}/signout-callback-oidc",
|
$"{clientsUrl["Mvc"]}/signout-callback-oidc"
|
||||||
"http://localhost:5100/signout-callback-oidc"
|
|
||||||
},
|
},
|
||||||
AllowedScopes = new List<string>
|
AllowedScopes = new List<string>
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user