2017-02-09 3 views
0

Wenn savetokens auf false eingestellt ist, funktioniert die PostLogoutRedirectUris nicht. Was ist die Beziehung zwischen diesen beiden? Ich benutze identityserver4 1.1 mit asp.net Kern 1,1Gibt es eine Beziehung zwischen SaveTokens und PostLogoutRedirectUris?

app.UseOpenIdConnectAuthentication(new OpenIdConnectOptions 
{ 
    RequireHttpsMetadata = false, 
    ClientId = "openIdConnectClient", 
    AuthenticationScheme = "oidc", 
    Authority = "https://localhost:44309/", 
    SignInScheme = "Cookies", 
    Scope = { "email" }, 
    SaveTokens = true 
}); 


new Client 
{ 
    ClientId = "openIdConnectClient", 
    ClientName = "Example Implicit Client Application", 
    AllowedGrantTypes = GrantTypes.Implicit, 
    AllowedScopes = new List<string> 
    { 
     IdentityServerConstants.StandardScopes.OpenId, 
     IdentityServerConstants.StandardScopes.Profile, 
     IdentityServerConstants.StandardScopes.Email, 
    }, 
    RedirectUris = new List<string> 
    {  
     "https://localhost:44378/signin-oidc" 
    }, 
      PostLogoutRedirectUris = new List<string> 
    { 
     "https://localhost:44378/signout-callback-oidc" 
    }, 

    } 

Antwort

Verwandte Themen