Skip to content
Snippets Groups Projects
Commit e64f8c1a authored by Marko Ivancic's avatar Marko Ivancic Committed by Tim van Dijen
Browse files

Make inResponseTo available in auth state (#1447)


Co-authored-by: default avatarMarko Ivančić <marko.ivancic@srce.hr>
parent a4308f1d
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ Released TBD ...@@ -16,6 +16,7 @@ Released TBD
* Fixed compatibility with Composer pre 1.8.5 (Debian 10) (#1427) * Fixed compatibility with Composer pre 1.8.5 (Debian 10) (#1427)
* Updated npm dependencies up to February 1, 2021 * Updated npm dependencies up to February 1, 2021
* Fixed a bug where it was impossible to set WantAssertionsSigned=true on SP-metadata (#1433) * Fixed a bug where it was impossible to set WantAssertionsSigned=true on SP-metadata (#1433)
* Make inResponseTo available in state array (#1447)
### authorize ### authorize
* Fix a bug in the Twig-template that causes an exception in Twig strict vars mode * Fix a bug in the Twig-template that causes an exception in Twig strict vars mode
......
...@@ -261,6 +261,7 @@ if ($expire !== null) { ...@@ -261,6 +261,7 @@ if ($expire !== null) {
$state['saml:sp:prevAuth'] = [ $state['saml:sp:prevAuth'] = [
'id' => $response->getId(), 'id' => $response->getId(),
'issuer' => $issuer, 'issuer' => $issuer,
'inResponseTo' => $response->getInResponseTo(),
]; ];
if (isset($state['\SimpleSAML\Auth\Source.ReturnURL'])) { if (isset($state['\SimpleSAML\Auth\Source.ReturnURL'])) {
$state['saml:sp:prevAuth']['redirect'] = $state['\SimpleSAML\Auth\Source.ReturnURL']; $state['saml:sp:prevAuth']['redirect'] = $state['\SimpleSAML\Auth\Source.ReturnURL'];
......
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