ktbartholomew / saml-20-single-sign-on

Wordpress plugin that makes a Wordpress site act as a SAML service provider
GNU General Public License v2.0
37 stars 22 forks source link

Fixing nginx configuration on Ubuntu/Debian to solve empty "Your SAML info" fields #19

Open sbarre opened 7 years ago

sbarre commented 7 years ago

If you are using nginx on Ubuntu or Debian, the OOB virtual host configuration for PHP will not work with SimpleSAMLphp's URL structure.

The primary visible symptom in the plugin is empty "Your SAML info" fields on the plugin's General tab, and the metadata URL not working.

It took me a while to solve this, and it's not an issue with your plugin per-se, but it might be worth calling this out in the README or documentation somewhere, to help other people resolve this without blaming your plugin (or SimpleSAMLphp).

I captured the relevant details and required fixes here:

https://gist.github.com/sbarre/9df20d5258aa847bcbba2d94608b36a4