使用IdentityServer3时如何避免呈现“已注销”页面

时间:2017-10-19 11:52:21

标签: identityserver3

从应用程序注销时,会显示IdentityServer的“您现在已退出应用程序”视图。有没有办法防止这种情况发生?

TIA

1 个答案:

答案 0 :(得分:1)

您可以在AuthenticationOptions中将EnablePostSignOutAutoRedirect选项设置为true(默认设置为false)。然后,用户将被重定向回post_logout_redirect_uri。

此处有更多详情: https://identityserver.github.io/Documentation/docsv2/configuration/authenticationOptions.html