这是我的客户
new Client {
RequireConsent = true,
RequirePkce = true,
ClientId = "ibird.com",
ClientName = "ibird.com",
ClientSecrets = new List<Secret>
{
new Secret("madeupsecret".Sha256())
},
AllowedGrantTypes = GrantTypes.Code,
AllowedScopes =
{
IdentityServerConstants.StandardScopes.OpenId,
IdentityServerConstants.StandardScopes.Profile,
"api.read"
},
RedirectUris = new List<string>()
{"http://localhost:5000/signin-oidc"},
PostLogoutRedirectUris = {"http://localhost:5000/"},
AllowedCorsOrigins = {"http://localhost:5000"},
AllowAccessTokensViaBrowser = true,
AccessTokenLifetime = 3600
}
当我在本地主机上运行我的两个项目时,它工作正常,但是在部署了身份服务器应用程序然后将本地应用程序连接到已部署的应用程序后,它可以工作并建立连接,但是在尝试从外部或内部登录后登录给我
请记住,我的本地应用程序已与身份服务器应用程序连接,并通过Google登录或内部登录。在最终重定向到我的本地应用程序后,请给予例外, 还有人可以告诉我如何查看身份服务器4的日志文件所在的日志