Identity Server / OIDC - 正确存储原始URL的位置

时间:2016-02-02 08:51:27

标签: openid openid-connect identityserver3

我正在设置Identity Server 4的过程中,我尝试实现的一件事是,当用户因页面而被发送到IdentityServer时,会重定向回原始请求的页面被保护'。有人可以建议在OIDC中存储此信息的正确位置吗?

我假设我需要在设置中设置一个类似

的值
app.UseOpenIdConnectAuthentication(options =>
{
 options.Events.RedirectToAuthenticationEndpoint((RedirectContent c) => 
 {
  // Set up something here..
 }
}

0 个答案:

没有答案
相关问题