Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/lexkom/sc-saml-auth/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
SAML Authentication for WordPress
Plugin for user authentication via SAML 2.0 Identity Provider (IdP).
Description
The plugin allows you to configure Single Sign-On (SSO) in WordPress via SAML 2.0. Supports:
- Authentication via SAML IdP
- Automatic user registration
- Attribute mapping configuration
- User role configuration
- SSO button display on login page
Installation
1. Upload the sc-saml-auth folder to the /wp-content/plugins/ directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to SAML Auth settings and configure the IdP connection
Configuration
1. In the "Setup" section, specify:
- Your IdP's Entity ID
- IdP SSO URL
- IdP SLO URL (optional)
- IdP X.509 certificate
2. In the "Attributes" section, configure attribute mapping:
- Username
- Last name
- Group
- Default role
- Additional attributes
3. In the "Buttons" section, configure SSO button display
Usage
Login Button Shortcode
Additional parameters:
Available Hooks
Action Hooks
Authentication and Authorization
1. samlauthbeforeprocessresponse
- Fires before processing the SAML response
- Use case: Logging, validation, or custom processing before au