admin管理员组文章数量:1391929
I'm working with an IdP that does not support CORS and trying to do a redirect binding. Their solution was to catch the response from the server and open the redirect in a new window. The browser keeps redirecting it for me. Is there a way to apply a custom response code in this sample:
Login method in the Auth Controller:
[Route("Login")]
public IActionResult Login(string returnUrl = null)
{
var binding = new Saml2RedirectBinding();
binding.SetRelayStateQuery(new Dictionary<string, string>
{ { relayStateReturnUrl, returnUrl ?? Url.Content("~/") } });
return binding.Bind(new Saml2AuthnRequest(config)).ToActionResult();
}
本文标签: itfoxtec identity saml2Change ResposeCode on Saml2RedirectBindingBind()Stack Overflow
版权声明:本文标题:itfoxtec identity saml2 - Change ResposeCode on Saml2RedirectBinding.Bind() - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744695226a2620237.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论