This is an old revision of the document!


Shibboleth Wordpress plugin

references

apache vhost config

apache vhost that serves both mainsitewp and sub-blog farm's blogs, as of blog1.mainsitewp.domain.fr :

<VirtualHost 192.168.12.12:443>
        ServerName mainsitewp.domain.fr
        ServerAlias *.mainsitewp.domain.fr
        DocumentRoot /var/www/wp
        ErrorLog logs/wp-error_log
        CustomLog logs/ssl_wp-access_log common
        LogLevel warn
        SSLEngine on
        Include conf.d/ssl/star_mainsitewp.domain.fr.conf
        #RewriteEngine On
        #RewriteCond %{HTTP_HOST} ^mainsitewp\.domain\.fr$ [NC]
        #RewriteRule .? https://mainsitewp.domain2.fr%{REQUEST_URI} [R=301,L]
        <Location />
                ShibRequestSetting applicationId wordpress
        </Location>
</VirtualHost>



==== wordpress farm multisite ====

for multisite wordpress, we need to allow shib session cookies to be allowed withing sub-domains blogs (cf cookieProps= ) .

<code>
 <Sessions lifetime="28800" timeout="3600" relayState="ss:mem"
                  checkAddress="false" handlerSSL="true" cookieProps="; path=/; secure; HttpOnly; domain=.mainsitewp.domain.fr"
                  redirectLimit="exact+allow" handlerURL="https://mainsitewp.domain.fr/Shibboleth.sso">

with redirectLimit=“exact+allow” also ste to none in debug mode

docpublic/systemes/shibboleth/sp_wordpress.1656946204.txt.gz · Last modified: 2022/07/04 14:50 by adminjp
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0