Multisite SP Autosetting
-
In version 2.3.0 of the plugin, if you want dynamic SP entityID configuration depending on blog name replace the ‘php-saml’ default SP entity ID with the blog url.
File: Settings.php
Change Line 35 to:
$opt['sp_entity_id'] = get_option('onelogin_saml_advanced_settings_sp_entity_id', get_site_url());
Line 66 to:
'entityId' => (!empty($opt['sp_entity_id'])? $opt['sp_entity_id'] : get_site_url()),
and to make it tell you in the configuration screen:
File: configuration.php
Line 385 to:
'<p class="description">'.__("Set the Entity ID for the Service Provider. If not provided, '".get_site_url()."' will be used.", 'onelogin-saml-sso').'</p>';
- The topic ‘Multisite SP Autosetting’ is closed to new replies.