You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quando viene creata la request per il logout, se viene specificato il binding Redirect, viene utilizzata comunque la route del binding POST dell'IdP
#75
Closed
jumanji1103 opened this issue
Feb 15, 2019
· 1 comment
La funzione redirectUrl della classe LogoutRequest dovrebbe generare la request relativa al binding Redirect. Tuttavia, quando richiede il bindingLocation, richiede quello relativo al binding POST.
public function redirectUrl($redirectTo = null) : string
{
$location = parent::getBindingLocation(Settings::POST, 'SLO');
if (is_null($this->xml)) {
$this->generateXml();
}
return parent::redirect($location, $redirectTo);
}
Da correggere con:
public function redirectUrl($redirectTo = null) : string
{
$location = parent::getBindingLocation(Settings::BINDING_REDIRECT, 'SLO');
if (is_null($this->xml)) {
$this->generateXml();
}
return parent::redirect($location, $redirectTo);
}
The text was updated successfully, but these errors were encountered:
La funzione redirectUrl della classe LogoutRequest dovrebbe generare la request relativa al binding Redirect. Tuttavia, quando richiede il bindingLocation, richiede quello relativo al binding POST.
Da correggere con:
The text was updated successfully, but these errors were encountered: