From 682ffe8c3b6841d863982194ec4f484fdb06bdd0 Mon Sep 17 00:00:00 2001
From: Thijs Kinkhorst
Date: Mon, 16 Oct 2023 17:52:17 +0200
Subject: [PATCH] Restore functionality of RelayState and return parameters to
SPs
---
.../Controllers/ConsentController.php | 1 +
.../templates/modules/Authentication/View/Proxy/form.html.twig | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/OpenConext/EngineBlockFunctionalTestingBundle/Controllers/ConsentController.php b/src/OpenConext/EngineBlockFunctionalTestingBundle/Controllers/ConsentController.php
index 9029a0c4b8..84b339af89 100644
--- a/src/OpenConext/EngineBlockFunctionalTestingBundle/Controllers/ConsentController.php
+++ b/src/OpenConext/EngineBlockFunctionalTestingBundle/Controllers/ConsentController.php
@@ -47,6 +47,7 @@ public function sendAction()
return new Response($this->twig->render('@theme/Authentication/View/Proxy/form.html.twig', [
'action' => $action,
'message' => $encodedMessage,
+ 'xtra' => '',
'name' => 'SAMLResponse',
'preventAutoSubmit' => true
]), 200);
diff --git a/theme/base/templates/modules/Authentication/View/Proxy/form.html.twig b/theme/base/templates/modules/Authentication/View/Proxy/form.html.twig
index f1276407e2..333c87801c 100644
--- a/theme/base/templates/modules/Authentication/View/Proxy/form.html.twig
+++ b/theme/base/templates/modules/Authentication/View/Proxy/form.html.twig
@@ -28,6 +28,7 @@