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

Signed-off-by: 李东云 <dongyun.li@luxcreo.ai>
This commit is contained in:
李东云
2022-05-19 19:23:05 +08:00
parent 5fe5db053b
commit 5e55396fc6

View File

@@ -119,7 +119,7 @@ class Assertion
return $this->response
->withCookie($login_status_cookie)->raw(
new SwooleStream(
sprintf("%s", $url)
sprintf('<script>window.location.href="%s"</script>', $url)
)
);
// return $this->response->redirect($url, RFC7231::FOUND);