【发布时间】:2018-07-25 02:06:34
【问题描述】:
我将 Identity server 4 与 sitefinity 客户端一起使用。我正在使用查询字符串中传递的自定义值构造一个安全 api 的 url。 (例如:http://localhost:60876/Sitefinity?code=CfDJ8GIUky)。我试图在重定向到 ID4 之前捕获代码的值,但是该值消失了。以下是我的通知设置:
Notifications = new OpenIdConnectAuthenticationNotifications()
{
RedirectToIdentityProvider = n =>
{
// trying to intercept the request to catch the query string value!
return Task.FromResult(0);
}
}
任何帮助将不胜感激。 谢谢
【问题讨论】:
标签: c# query-string identityserver4