-1
愚かな質問...例では、私の生産に すなわちhttp://localhost:5002/signin-oidcRedirectUrisは本番環境でlocalhostを使用できますか?
をlocalhostにリダイレクトユーザーの下に示すが、私は https://app.domain.com/signin-oidcにこれを変更する必要があるでしょうか?
http://docs.identityserver.io/en/release/quickstarts/6_aspnet_identity.html
new Client
{
ClientId = "mvc",
ClientName = "MVC Client",
AllowedGrantTypes = GrantTypes.HybridAndClientCredentials,
RequireConsent = false,
ClientSecrets =
{
new Secret("secret".Sha256())
},
RedirectUris = { "http://localhost:5002/signin-oidc" },
PostLogoutRedirectUris = { "http://localhost:5002/signout-callback-oidc" },
AllowedScopes =
{
IdentityServerConstants.StandardScopes.OpenId,
IdentityServerConstants.StandardScopes.Profile,
"api1"
},
AllowOfflineAccess = true
}
はい、localhostは、クライアントがWebアプリケーションの場合のみテストする必要があります。プロダクションにlocalhostリダイレクトuriを含めないでください。 –