Skip to content
Snippets Groups Projects
Unverified Commit 89f84a47 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Retrieve relayState from the proper parameter bag

parent 9fa3d833
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