【发布时间】:2018-02-06 10:23:23
【问题描述】:
我已经实现了 IdentityServer4。我在验证来自 non Core Mvc 客户端的用户时遇到问题,因为在登录验证后未调用 IProfileService。 当我尝试从 .NetCore Mvc 客户端登录时,它工作正常。
Here is my Mvc.Net Client configurations
app.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions
{
AuthenticationType = "oidc",
SignInAsAuthenticationType = "Cookies",
Authority = "http://localhost:5070/",
RedirectUri = "http://localhost:65156/signin-oidc",
ResponseType = "code id_token",
ClientId = "Justt-IWA-001113",
ClientSecret = "!Erty#@asd",
Scope = "openid profile SavingsAPI",
});
我需要在 ProfileService 实现中发布用户声明。有人可以提出一些解决方案吗?
【问题讨论】:
标签: asp.net-identity identityserver4