<div dir="ltr"><div><div><div>I have a wordpress site hosted on an apache. <br>Basically I want my sso users to be able to log on the wordpress.<br>With the help of <span class="gmail-col-11 gmail-text-gray-dark gmail-mr-2">the WordPress Shibboleth plugin </span>it works correctly with my IdP when the site is configured with an alias <br>url : <a href="https://site.com/wp">https://site.com/wp</a><br>apache config :<br>Alias /wp/wp-content /var/lib/wordpress/wp-content<br>Alias /wp /usr/share/wordpress<br><br></div><div>But if I install the wordpress on /var/www/html and modify the shibboleth2.xml with the new entityId <a href="https://site.com">https://site.com</a>, I am able to get to the sso page but my users are not redirected on the wordpress.<br></div><div>It seems I enter an infinite loop like this :<br></div><div><br>[14/Jun/2017:09:30:50 +0200] "GET /wp-login.php?action=shibboleth HTTP/1.1" 302 4009 "<a href="https://site.com/wp-login.php">https://site.com/wp-login.php</a>" <br>[14/Jun/2017:09:30:50 +0200] "GET /Shibboleth.sso/Login?target=https%3A%2F%2Fsite.com%2Fwp-login.php%3Faction%3Dshibboleth HTTP/1.1" 302 1906 "<a href="https://site.com/wp-login.php">https://site.com/wp-login.php</a>" <br>[14/Jun/2017:09:31:05 +0200] "POST /Shibboleth.sso/SAML2/POST HTTP/1.1" 302 1083 "<a href="https://siteIdP.com/idp/profile/SAML2/Redirect/SSO">https://siteIdP.com/idp/profile/SAML2/Redirect/SSO</a>" <br>[14/Jun/2017:09:31:05 +0200] "GET /wp-login.php?action=shibboleth HTTP/1.1" 302 573 "<a href="https://siteIdP.com/idp/profile/SAML2/Redirect/SSO">https://siteIdP.com/idp/profile/SAML2/Redirect/SSO</a>" <br>[14/Jun/2017:09:31:05 +0200] "GET /Shibboleth.sso/Login?target=https%3A%2F%2Fsite.com%2Fwp-login.php%3Faction%3Dshibboleth HTTP/1.1" 302 1898 "<a href="https://siteIdP.com/idp/profile/SAML2/Redirect/SSO">https://siteIdP.com/idp/profile/SAML2/Redirect/SSO</a>" <br>[14/Jun/2017:09:31:06 +0200] "POST /Shibboleth.sso/SAML2/POST HTTP/1.1" 302 945 "<a href="https://siteIdP.com/idp/profile/SAML2/Redirect/SSO">https://siteIdP.com/idp/profile/SAML2/Redirect/SSO</a>" <br><br></div><div>My configuration :<br></div><div>Debian 8<br>Apache/2.4.10<br>Shibboleth 2.6.0<br>PHP 5.6.30<br></div>Wordpress 4.8<br><br></div>I looked everywhere on my server for an error without finding anything, any idea ?<br></div>Thanks<br></div>