WP SAML Auth
SAML authentication for WordPress.
The facts
- Rating
- 4.5★ from 8
- Active installs
- 7k+
- Price
- Free
- Last updated
- 12 Aug 2026
- Added
- Apr 2016
- Requires WP
- 6.4
- Tested up to
- WP 7.0.4
- Requires PHP
- 7.4
- Downloads
- 228,102
Our analysis
AI-assistedWP SAML Auth is a WordPress plugin that enables SAML authentication, allowing users to log in via SAML through a button on the standard WordPress login view. It integrates with either OneLogin or SimpleSAMLphp, facilitating user authentication and account creation in WordPress based on SAML identity providers.
This plugin is suitable for organizations that use SAML for authentication, such as those using Google Apps. It offers configuration options to control the authentication flow, including the ability to bypass the standard WordPress login and manage user provisioning.
Best for: This plugin suits organizations needing SAML authentication for WordPress.
What it does well
- ✓Supports SAML authentication via OneLogin or SimpleSAMLphp
- ✓Allows automatic user creation in WordPress
- ✓Offers configuration options for custom authentication flows
- ✓Integrates easily with Google Apps
Where it falls short
- •Limited information on advanced configuration options
- •Requires additional setup for SimpleSAMLphp integration
Verdict
WP SAML Auth provides a straightforward solution for SAML authentication in WordPress, making it a practical choice for relevant organisations.
From the developer
Pantheon Systems's own description of WP SAML Auth, lightly tidied.
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. For instance, permit_wp_login=>false will force all authentication to go through the SAML identity provider, bypassing wp-login.php. Similiarly, auto_provision=>false will disable automatic creation of new WordPress users.
See installation instructions for full configuration details.
Installing SimpleSAMLphp
The plugin supports both SimpleSAMLphp v1.x and v2.x. The autoloader is automatically detected:
SimpleSAMLphp v2.x uses vendor/autoload.php
SimpleSAMLphp v1.x uses lib/_autoload.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'
For each path, the plugin checks for both vendor/autoload.php (v2.x) and lib/_autoload.php (v1.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:
add_filter( 'wp_saml_auth_option', function( $value, $option_name ) {
if ( 'simplesamlphp_autoload' === $option_name ) {
// Point to your custom Composer vendor autoloader
return '/custom/path/vendor/autoload.php';
}
return $value;
}, 10, 2 );