Browse Source

Identity Server: Config clients to avoid consent screen on login process.

pull/49/merge
Carlos Cañizares Estévez 8 years ago
parent
commit
4b554f08de
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/Services/Identity/eShopOnContainers.Identity/Configuration/Config.cs

+ 3
- 0
src/Services/Identity/eShopOnContainers.Identity/Configuration/Config.cs View File

@ -42,6 +42,7 @@ namespace eShopOnContainers.Identity.Configuration
AllowedGrantTypes = GrantTypes.Implicit,
AllowAccessTokensViaBrowser = true,
RedirectUris = { $"{clientsUrl["Spa"]}/" },
RequireConsent = false,
PostLogoutRedirectUris = { $"{clientsUrl["Spa"]}/" },
AllowedCorsOrigins = { $"{clientsUrl["Spa"]}" },
AllowedScopes =
@ -59,6 +60,7 @@ namespace eShopOnContainers.Identity.Configuration
AllowedGrantTypes = GrantTypes.Implicit,
AllowAccessTokensViaBrowser = true,
RedirectUris = { "http://eshopxamarin/callback.html" },
RequireConsent = false,
PostLogoutRedirectUris = { "http://eshopxamarin/callback.html/index.html" },
AllowedCorsOrigins = { "http://eshopxamarin" },
AllowedScopes =
@ -79,6 +81,7 @@ namespace eShopOnContainers.Identity.Configuration
},
ClientUri = $"{clientsUrl["Mvc"]}", // public uri of the client
AllowedGrantTypes = GrantTypes.Hybrid,
RequireConsent = false,
RedirectUris = new List<string>
{
$"{clientsUrl["Mvc"]}/signin-oidc",


Loading…
Cancel
Save