Correct host in generated URLS for IdPs with 'host' config in admin/federation (#1781)
It gets quite fiddly to get this right. The actual metadata (hosted on the `host` itself) is alreafy correct because the URL generator uses the 'current' entity metadata and current URL. The admin interface of course presents all entities in one page and hence cannot rely on the current URL. Therefore we need to override the url host for this specific display case. Closes: #1774
Showing
- modules/admin/src/Controller/Federation.php 7 additions, 1 deletionmodules/admin/src/Controller/Federation.php
- modules/admin/templates/federation.twig 11 additions, 1 deletionmodules/admin/templates/federation.twig
- modules/saml/src/IdP/SAML2.php 7 additions, 4 deletionsmodules/saml/src/IdP/SAML2.php
- src/SimpleSAML/Metadata/MetaDataStorageHandler.php 5 additions, 2 deletionssrc/SimpleSAML/Metadata/MetaDataStorageHandler.php
Loading
Please register or sign in to comment