PHPackages                             helsingborg-stad/wpmu-propagate-miniorange-saml-sso-settings - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. helsingborg-stad/wpmu-propagate-miniorange-saml-sso-settings

ActiveWordpress-muplugin[Authentication &amp; Authorization](/categories/authentication)

helsingborg-stad/wpmu-propagate-miniorange-saml-sso-settings
============================================================

0.1.3(1y ago)01.3k↓42.1%MITPHP

Since Feb 12Pushed 1y ago3 watchersCompare

[ Source](https://github.com/helsingborg-stad/wpmu-propagate-miniorange-saml-sso-settings)[ Packagist](https://packagist.org/packages/helsingborg-stad/wpmu-propagate-miniorange-saml-sso-settings)[ RSS](/packages/helsingborg-stad-wpmu-propagate-miniorange-saml-sso-settings/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Network SAML Options
====================

[](#network-saml-options)

This WordPress plugin adds SAML (Security Assertion Markup Language) options to all sites in a multisite network via WP-CLI. It allows you to easily propagate SAML configuration from a single source site to all other sites in your network, ensuring consistent settings across your multisite installation. This is particularly useful when using a plugin like miniOrange SAML SSO.

Description
-----------

[](#description)

The Network SAML Options plugin simplifies the management of SAML settings in a WordPress multisite environment. Instead of configuring SAML options individually for each site, you can configure them once on a designated source site (usually the main site) and then use the WP-CLI command to propagate those settings to all other sites in the network. This saves significant time and effort, especially when dealing with a large number of sites.

Installation
------------

[](#installation)

1. Upload the plugin files to the `/wp-content/mu-plugins/` directory, or install the plugin through the WordPress plugins screen.

Usage
-----

[](#usage)

This plugin is designed to be used with WP-CLI. After activating the plugin, you can use the following command:

wp network-saml-options update \[--source-site=&lt;site\_id&gt;\]

### Options

[](#options)

- `--source-site=&lt;site_id&gt;`: (Optional) The ID of the site to fetch the SAML option values from. If not specified, the main site (ID 1) will be used as the source.

### Examples

[](#examples)

- Update SAML options for all sites, using the main site as the source:

wp network-saml-options update

- Update SAML options for all sites, using site ID 5 as the source:

wp network-saml-options update --source-site=5

Plugin Functionality
--------------------

[](#plugin-functionality)

The plugin works by:

1. Identifying the configured SAML option keys (defined in the `$optionKeys` array within the plugin). These are the specific options you want to propagate.
2. Retrieving the values of these options from the specified source site.
3. Iterating through all sites in the network.
4. For each site, switching to that site's context.
5. Updating the SAML options on the current site with the values from the source site.
6. Restoring the original site context.

Supported SAML Options
----------------------

[](#supported-saml-options)

The plugin propagates the following SAML options (these are the defaults, you can modify the `$optionKeys` array in the plugin file if needed):

- `mo_saml_test_config_attrs`
- `MO_SAML_TEST_STATUS`
- `MO_SAML_TEST`
- `mo_saml_required_certificate`
- `MO_SAML_RESPONSE`
- `MO_SAML_REQUEST`
- `mo_saml_message`
- `mo_saml_add_sso_button_wp`
- `mo_saml_assertion_time_validity`
- `mo_saml_encoding_enabled`
- `saml_x509_certificate`
- `saml_issuer`
- `saml_login_url`
- `saml_identity_name`
- `mo_is_new_user`
- `widget_saml_login_widget`
- `mo_saml_keep_settings_on_deletion`

Important Notes
---------------

[](#important-notes)

- This plugin requires WP-CLI to function.
- It's crucial to back up your database before running the `wp network-saml-options update` command, as changes will be made to all sites in your network.
- Ensure that the SAML plugin you're using (e.g., miniOrange SAML SSO) is compatible with this propagation method. It relies on the standard WordPress `get_option()` and `update_option()` functions.
- If you need to propagate additional SAML options, you'll need to add their corresponding keys to the `$optionKeys` array in the plugin file.

Author
------

[](#author)

Sebastian Thulin

Version
-------

[](#version)

1.0.0

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance42

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

460d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f46fe64973c3e89d15c745c0bf601c25983bafea81d30e64d4bf813a6f8c8c7c?d=identicon)[sebastianthulin](/maintainers/sebastianthulin)

### Embed Badge

![Health badge](/badges/helsingborg-stad-wpmu-propagate-miniorange-saml-sso-settings/health.svg)

```
[![Health](https://phpackages.com/badges/helsingborg-stad-wpmu-propagate-miniorange-saml-sso-settings/health.svg)](https://phpackages.com/packages/helsingborg-stad-wpmu-propagate-miniorange-saml-sso-settings)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
