identityServer4 显示授权页面

1/11/2022 10:17:27 PM
608
0
              new Client
               {
                   ClientId = "mvc",
                   ClientSecrets = { new Secret("secret".Sha256()) },
                   AllowedGrantTypes = GrantTypes.Code,
                       
                   RequireConsent = true, //是否显示授权提示界面
                   RedirectUris = {"http://localhost:5000/signin-oidc"},
                   PostLogoutRedirectUris = { "https://localhost:5000/signout-callback-oidc" },
                   AllowedScopes = new List<string>
                   {
                       IdentityServerConstants.StandardScopes.OpenId,
                       IdentityServerConstants.StandardScopes.Profile
                   }
               },

全部评论



提问