WordPress plugin intelligence profile

WP SAML Auth

SAML authentication for WordPress.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version2.3.4
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 6.4 · PHP 7.4
Directory statusactive
Last directory update12 Aug 20262mo ago
Active installations7K+Adoption metric — not a quality score
WordPress.org rating4.5 / 5 from 8 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP SAML Auth version 2.3.4 as active, updated 2mo ago and tested up to WordPress 7.0.

Overview

About this plugin

SAML authentication for WordPress, using the bundled OneLogin SAML library or optionally installed SimpleSAMLphp. OneLogin provides a SAML authentication bridge; SimpleSAMLphp provides SAML plus a variety of other authentication mechanisms. This plugin acts as a bridge between WordPress and the authentication library.

If your organization uses Google Apps, integrating Google Apps with WP SAML Auth takes just a few steps.

The standard user flow looks like this:

  • User can log in via SAML using a button added to the standard WordPress login view.
  • When the button is clicked, the user is handed off to the authentication library. With OneLogin, the user is redirected to the SAML identity provider. With SimpleSAMLphp, the user is redirected to the SimpleSAMLphp install.
  • Once the user is authenticated with the identity provider, they’re redirected back to WordPress and signed in to their account. A new WordPress user will be created if none exists (although this behavior can be disabled).
  • When the user logs out of WordPress, they are also logged out of the identity provider.

A set of configuration options allow you to change the plugin’s default behavior. php. Similiarly, auto_provision=>false will disable automatic creation of new WordPress users.

See installation instructions for full configuration details.

Installing SimpleSAMLphp

x. The autoloader is automatically detected:

php

php

Default Search Paths

The plugin automatically searches for SimpleSAMLphp in these locations:

* ABSPATH. 'simplesaml'

* ABSPATH. 'private/simplesamlphp'

* ABSPATH. 'simplesamlphp'

* ABSPATH. 'vendor/simplesamlphp/simplesamlphp' (Composer installation)

* plugin_dir_path. 'simplesamlphp'

x).

This means Composer installations work automatically! If you run composer require simplesamlphp/simplesamlphp in your site root, the plugin will find it without any additional configuration.

Composer Installation (Advanced)

If you install SimpleSAMLphp via Composer to a custom location (not the standard vendor/simplesamlphp/simplesamlphp ), you can specify the autoloader path:

php'; } return $value; }, 10, 2 );

Custom Installation Paths

If SimpleSAMLphp is installed in a non-default location, you can set custom search paths with the wp_saml_auth_simplesamlphp_path_array filter:

add_filter( 'wp_saml_auth_simplesamlphp_path_array', function( $simplesamlphp_path_array ) { // Override default paths with custom paths return [ '/custom/path/to/simplesamlphp' ]; } );

Or define an explicit autoloader path with the wp_saml_auth_ssp_autoloader filter:

add_filter( 'wp_saml_auth_ssp_autoloader', function( $ssp_autoloader ) { return ABSPATH. php'; } );<h3>WP-CLI Commands</h3>

This plugin implements a variety of WP-CLI commands. All commands are grouped into the wp saml-auth namespace.

$ wp help saml-auth

NAME

wp saml-auth

DESCRIPTION

Configure and manage the WP SAML Auth plugin.

SYNOPSIS

wp saml-auth <command>

SUBCOMMANDS

scaffold-config Scaffold a configuration filter to customize WP SAML Auth usage.

Use wp help saml-auth <command> to learn more about each command.

Note: The scaffold-config command generates a configuration function with default values. The simplesamlphp_autoload option is not included in the scaffolded output because the plugin auto-detects SimpleSAMLphp installations. Only add this option manually if SimpleSAMLphp is in a non-standard location.

Contributing

md for information on contributing.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • authentication
  • saml
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 6.4 · PHP 7.4
Update activity12 Aug 20262mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.