fix(assertion): 对 sso 成功后的 acs,修复了创建 cookie 的操作

Signed-off-by: 李东云 <dongyun.li@luxcreo.ai>
This commit is contained in:
李东云
2022-05-19 19:47:14 +08:00
parent 7637d90e88
commit 9c039334d9

View File

@@ -123,7 +123,7 @@ class Assertion
new SwooleStream(
sprintf('<script>window.location.href="%s"</script>', $url)
)
)->withAddedHeader(Header::CONTENT_TYPE, 'text/html');
)->withHeader(Header::CONTENT_TYPE, 'text/html');
// return $this->response->redirect($url, RFC7231::FOUND);
}