Skip to content
Snippets Groups Projects
Commit 66038123 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Retrieve relayState from the proper parameter bag

parent 2f354c7e
No related branches found
No related tags found
No related merge requests found
......@@ -94,10 +94,10 @@ class SingleLogout
$idpEntityId = $this->mdHandler->getMetaDataCurrentEntityID('saml20-idp-hosted');
$idp = $this->idp::getById('saml2:' . $idpEntityId);
if ($request->request->has('ReturnTo')) {
if ($request->query->has('ReturnTo')) {
return new RunnableResponse(
[$idp, 'doLogoutRedirect'],
[$httpUtils->checkURLAllowed($request->request->get('ReturnTo'))]
[$httpUtils->checkURLAllowed($request->query->get('ReturnTo'))]
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment