Skip to content

Installation

Job van Koeveringe edited this page Nov 2, 2026 · 4 revisions

Installation

Install the plugin before creating or editing the managed website connection in Scouts Online. The provider configuration needs the final public WordPress URL.

Before you begin

Confirm the following before activating the plugin:

  1. The production URL uses HTTPS and resolves to the WordPress site.
  2. WordPress 6.9.5 or later and PHP 8.2 or later are available.
  3. PHP provides hash_equals, openssl_pkey_get_public, openssl_verify, and random_bytes.
  4. You have a Scouts Online account with the webmaster role.
  5. The site can make outbound HTTPS requests to https://login.scouting.nl.

For a Docker, load balancer, or reverse-proxy deployment, configure HTTPS recognition first. Read HTTPS and reverse proxies.

Install from WordPress

  1. Sign in to the WordPress administrator area.
  2. Open Plugins > Add New.
  3. Search for Scouting OpenID Connect.
  4. Select Install Now and wait for the installation to finish.
  5. Select Activate.
  6. Open Scouting OIDC > Settings.

The plugin creates its default options, log and SOL role storage, and daily log cleanup schedule on activation. Role tables are also checked during normal initialization after an update.

Install a release package manually

  1. Download the intended plugin release from the project or WordPress.org.
  2. In WordPress, open Plugins > Add New > Upload Plugin.
  3. Upload the ZIP archive, install it, and activate it.
  4. Continue with Configuration.

Do not unpack a development checkout into a production plugin directory unless your deployment process is designed to manage it.

Upgrade safely

  1. Back up the database and the active plugin directory according to your normal WordPress change process.
  2. Update the plugin through WordPress or deploy the intended release package.
  3. Open Tools > Site Health and resolve any Scouting OpenID Connect notices.
  4. Test a complete login with a non-administrator account.
  5. Confirm the logging page and scheduled log cleanup are available.

The plugin retains settings and user mappings across normal upgrades. Do not delete the plugin unless you intend to remove its stored data as well.

Upgrading to 2.7.0

Version 2.7.0 adds SOL role mapping, the Role Explorer, and WooCommerce SOL Access. The optional roles scope must be enabled in both WordPress and the managed website connection before new SOL role data can be synchronized.

Review Settings > General > New User Default Role before the first OIDC login after upgrading: unmatched new users receive that role. On the plugin Settings page, optionally enable adding that role alongside mapped roles for new and existing users; it is disabled by default. Existing unmatched users receive no replacement role. All matching allow rules contribute roles, any deny blocks login, and obsolete plugin-granted roles are removed at each successful OIDC login. Independently managed roles are retained.

  1. Keep a working ordinary WordPress administrator account as a recovery route.
  2. Verify role tables can be created or upgraded with the site's database permissions.
  3. If using the new features, add the roles scope on both sides and complete a fresh OIDC login.
  4. Inspect the Role Explorer, configure any mapping rules, and use Test a User before testing a real non-administrator login.
  5. If using WooCommerce restrictions, test guest, allowed, denied, variation, and existing-cart behavior.

Read SOL Roles and Mapping and WooCommerce SOL Access before enabling restrictive rules.

Verify the installation

After completing Configuration, sign out and open wp-login.php. A configured site with secure HTTPS displays Login with Scouts Online below the regular WordPress form. Complete a login and verify the expected post-login destination.

If the button is absent or login fails after it is activated, start with Login button is missing or login fails.

Clone this wiki locally