mirror of
http://124.126.16.154:8888/singularity/hyperf-saml.git
synced 2026-01-15 07:15:05 +08:00
@@ -139,7 +139,8 @@ class Assertion
|
||||
public function consumeLogoutResponse(LogoutResponse $response): \Psr\Http\Message\ResponseInterface
|
||||
{
|
||||
$relayState = $response->getRelayState();
|
||||
$landing_url = config('landing_host') . $relayState;
|
||||
$landing_url = config('saml.client.landing_host') . $relayState;
|
||||
|
||||
$login_status_cookie = new Cookie(
|
||||
'is_login',
|
||||
"0",
|
||||
|
||||
@@ -49,6 +49,7 @@ class Slo
|
||||
{
|
||||
$idpId = config('saml.server.idp_logout_url');
|
||||
$issuer = config('saml.client.entity_id');
|
||||
$this->authentication->invalidByToken($this->authentication->parseTokenFromHeaders());
|
||||
|
||||
$relayState = $this->request->query('relayState', '');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user