- Issue created by @chad.hembrock
- π³π±Netherlands roderik Amsterdam,NL / Budapest,HU
As a first hack (if you're in a hurry) you can add the following line to SamlService::processLoginResponse() - e.g. on line 438 of SamlService.php:
SamlUtils::setSelfHost('[YOUR-EXTERNAL-HOSTNAME]');
In /admin/config/people/saml/saml ... what is the "Assertion Consumer Service" URL shown as? (The *.appserviceenvironment.com hostname of your externally-visible hostname?)
That'll inform where we need to go from here.
- π³π±Netherlands roderik Amsterdam,NL / Budapest,HU
For completeness:
I'll consider adding the above line to the module (first as an option to make sure existing sites don't break; then remove the option in v4.x because all sites should work with it). Because -- in short: the SAML PHP Toolkit library and Drupal use different ways of determining the hostname. That may be a problem. And I think we can fix it in a generic easy way.
However, this is the first ever report of such a case. So I'd like some confirmation before changing code, and the question from #2 is still outstanding (with followup questions planned, based on what the answer is).