Title: OneLogin SAML SSO
Author: sixtomartin
Published: <strong>2011-01-10</strong>
Last modified: 2026-10-31

---

Szukaj wtyczek

![](https://s.w.org/plugins/geopattern-icon/onelogin-saml-sso.svg)

# OneLogin SAML SSO

 Autor: [sixtomartin](https://profiles.wordpress.org/sixtomartin/)

[Pobierz](https://downloads.wordpress.org/plugin/onelogin-saml-sso.3.7.1.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/onelogin-saml-sso/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/onelogin-saml-sso/#reviews)
 * [Rozwój](https://pl.wordpress.org/plugins/onelogin-saml-sso/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/onelogin-saml-sso/)

## Opis

This SAML plugin eliminates passwords and allows you to authenticate WordPress users(
typically editors) against your existing Active Directory or LDAP server as well
increase security using YubiKeys or VeriSign VIP Access via OneLogin. OneLogin is
pre-integrated with thousands of apps and handles all of your SSO needs in the cloud
and behind the firewall.

 * Eliminate passwords in WordPress
 * Allow users to sign into WordPress with their _Active Directory_ or _LDAP_ credentials
 * Give users one-click access from your intranet
 * Increase security using browser PKI certificates or two-factor authentication
   from _Yubico_ or _VeriSign_
 * Easily prevent access from former employees and contractors

If you used this plugin before 2.2.0 with just-in-time provision active, Read: https://
wpvulndb.com/vulnerabilities/8508
 To mitigate that bug, place the script at the
root of wordpress and execute it (later remove it) https://gist.github.com/pitbulk/
a8223c90a3534e9a7d5e0a93009a094f

## Recenzje

![](https://secure.gravatar.com/avatar/c069ff83eee33e70baaa7816e28112ddb30b68bb149cc77503e9970a55079200?
s=60&d=retro&r=g)

### 󠀁[Great plugn, simple and easy configuration](https://wordpress.org/support/topic/great-plugn-simple-and-easy-configuration/)󠁿

 [Sudharshan WP](https://profiles.wordpress.org/reddyweb/) 2026-07-07

I have been using it for many websites, and working great. Kindly upgrade the plugin
and it's dependent libraries to make it compatible with latest versions.

![](https://secure.gravatar.com/avatar/f07d1143daf535ac4ba5321c79f9cbbd712a0031c865755133be01cc75a2ee71?
s=60&d=retro&r=g)

### 󠀁[Great SAML plugin](https://wordpress.org/support/topic/great-saml-plugin/)󠁿

 [sandykadam](https://profiles.wordpress.org/sandykadam/) 2019-11-14

Great SAML plugin

![](https://secure.gravatar.com/avatar/99b15c6a2a1a1611339e0ffe63fbaac78ffc058d744e2790f3f8a54b184f66b6?
s=60&d=retro&r=g)

### 󠀁[Excellent, working with Azure AD](https://wordpress.org/support/topic/excellent-working-with-azure-ad/)󠁿

 [Hal Sclater](https://profiles.wordpress.org/hsclater/) 2019-06-07 1 odpowiedź

Works very well with Azure AD, nice and simple but enough functionality. Only tricky
part was the attribute mapping: These can be found in Azure AD, click the edit button
on User Attributes & mapping, then copy and paste the full claim names in the first
column.

![](https://secure.gravatar.com/avatar/d0cffb9e98964751695b917d66d8be538b0929285385e0c9a7f0e63943533f82?
s=60&d=retro&r=g)

### 󠀁[Great Plugin!](https://wordpress.org/support/topic/great-plugin-20772/)󠁿

 [josem_ramirez](https://profiles.wordpress.org/josem_ramirez/) 2019-02-07

Works perfectly with SAML

![](https://secure.gravatar.com/avatar/d52fb84180237dec94e01bbde6a441e16ac89c7fc0fe3404732cbc2f8343a9b8?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work. Difficult to me](https://wordpress.org/support/topic/doesnt-work-difficult-to-me/)󠁿

 [aaljaseem](https://profiles.wordpress.org/aaljaseem/) 2019-01-04

Hello I am a student i have Active Directory with federation services. i want to
login to wordpress with credentails of the active directory. i dont know if the 
config wrong or i dont know how to login after configuring this plugin with AD credentials.
i have tried this plugin and many others from miniOrange. Nothing works with me 
Please help

![](https://secure.gravatar.com/avatar/047b0a43fc57a2db12e7d2461194f3f6034a457f72852549595381c45083353f?
s=60&d=retro&r=g)

### 󠀁[Worked OOTB with EmpowerID](https://wordpress.org/support/topic/worked-ootb-with-empowerid/)󠁿

 [rahyong](https://profiles.wordpress.org/rahyong/) 2018-09-28

Worked right out of the box with EmpowerID as IdP with all of the required features.

 [ Przeczytaj 14 recenzji ](https://wordpress.org/support/plugin/onelogin-saml-sso/reviews/)

## Kontrybutorzy i deweloperzy

„OneLogin SAML SSO” jest oprogramowaniem open source. Poniższe osoby miały wkład
w rozwój wtyczki.

Zaangażowani

 *   [ sixtomartin ](https://profiles.wordpress.org/sixtomartin/)
 *   [ onelogin ](https://profiles.wordpress.org/onelogin/)

[Przetłumacz wtyczkę “OneLogin SAML SSO” na swój język.](https://translate.wordpress.org/projects/wp-plugins/onelogin-saml-sso)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/onelogin-saml-sso/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/onelogin-saml-sso/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/onelogin-saml-sso/)
przez [RSS](https://plugins.trac.wordpress.org/log/onelogin-saml-sso/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 3.7.1

 * Fix open redirect attacks on sso endpoint when user logged.

#### 3.7.0

 * Add new „Preserve existing roles” option to the Role Mapping section. When enabled,
   roles resolved by the role mapping are only added to the user, preserving existing
   roles and per-user capabilities assigned in WordPress (e.g. via plugins like 
   User Role Editor). Note that with this option enabled, roles revoked on the IdP
   side are not removed in WordPress.
 * Add onelogin_saml_show_no_user_error_response filter to allow customize user 
   Provisioning error when user does not exists and Provisioning is disabled
 * Add onelogin_saml_after_login_redirect_url filter to allow customize the redirect
   url after ACS.
 * Add onelogin_saml_attrs hook after user creation/update, before storing data 
   on session.
 * Make RememberMe option a checkbox, rather than an input text field (field was
   renamed as well, so this setting needs to be updated after the upgrade, if you
   had it enabled).
 * Add a new setting to prevent accents in emails. sanitize_email in WP versions
   older than 6.6 will stripe accents, what could be used maliciously to try to 
   impersonate accounts when the email is the SAML identifier. In addition some 
   DB are by default accent-insensitive and could treat accented and non-accented
   emails as equivalent. When this option is enabled, SAML Responses containing 
   emails with accents will be rejected
 * Add a new setting to use the FriendlyName instead the Name
 * Add a new setting to allow multiple AttributeNames
 * Add a new setting to support setProxyVars, used to trust HTTP_X_FORWARDED_HOST,
   HTTP_X_FORWARDED_PROTO and HTTP_X_FORWARDED_PORT values
 * Add a new setting to allow define a BaseURL in case the SAML plugin resolves 
   wrong the protocol, host, port or path.

#### 3.6.0

 * Update php-saml to 4.3.1 (PHP8 compatibility)

#### 3.5.0

 * Security: Update xmlseclibs to 3.1.4 due CVE-2025-66475
 * Update php-saml to 3.8.1

#### 3.4.0

 * Update php-saml to 3.6.1 and xmlseclibs to 3.1.1
 * Support Passive mode and don’t raise error when passive authentication failed
 * Allow set desired target on saml_sso endpoint by the use of a 'target’ GET parameter
 * Add new parameter to determine if the account was created or already existed
 * Add Support for WPS Hide Login
 * Use add_query_arg to better adjust login URLs
 * Login always returned to frontend page, now if redirect_to is set, redirects 
   there

#### 3.3.1

 * wp_login was triggered with wrong arguments, user object was not initializated
 * Minor refactor

#### 3.3.0

 * Add support for Nickname user field
 * Fix redirect protection. Absolute URLs failed and only relatives were accepted
 * Add support for saml_nameid_name_qualifier and saml_nameid_name_sp_qualifier 
   which fixes detected issues on SLO process with ADFS
 * Add to setcookie method the cookie domain, secure flag and httponly
 * [#101](https://github.com/onelogin/wordpress-saml/issues/101) SAML request was
   improperly generated when requestedAuthNContext was empty.
 * Replace deprecated method (sanitize_url –> esc_url_raw )
 * Support triggering wp_login hook controller by a setting
 * Update php-saml to 3.5.0

#### 3.2.1

 * Sanitize inputs
 * Update php-saml to 3.4.1
 * Fix nameidformat field

#### 3.2.0

 * Avoid untrusted redirections
 * Disable SAML on CLI/Cron on ACS and SLS endpoints. Allow custom filter to disable
   SAML
 * Support multi-role
 * Fix variable assignment during conditional check
 * Swap to `manage_options` for the cap check on the validate page.
 * Fix unintentional variable assignment
 * Set 1000 as the limit of sites to be managed by SAML network settings

#### 3.1.2

 * Minor fix to extract all sites for the multi-site features

#### 3.1.1

 * Multisites: Add the option to automatically enroll users on sites when a SAML
   Network setting enabled
 * Fix #86. Set default role when not provided only on create action
 * Detect Ajax and cron tasks

#### 3.1.0

 * Multisite improvement. Now when multisite is enabled, on the „Network Admin” 
   dashboard appears a „Network SAML Settings” where you can define a SAML template
   setting, and then inject it in sites. Also will allow you enable/disable multiple
   sites on a unique view.
 * Now the onelogin_saml_keep_local_login will also hide the login form on wp-login.
   php view. So when on a logout action, we can notify the user with the typical
   message of 'You are now logged out.’ without showing the local login form.
 * Update php-saml to 3.3.1
 * Update xmlseclibs to 3.0.4

#### 3.0.0

 * Update php-saml to 3.1.0 to make the plugin compatible with PHP7.3
 * Overriding user_register will prevent admins to register users, so deactivating
   that override
 * Stop using $blog_id at the is_user_member_of_blog call

#### 2.8.0

 * Update php-saml to 2.14.0
 * Remove the use of screen_icon method

#### 2.7.1

 * Fix is_saml_enabled method

#### 2.7.0

 * Make NameID optional

#### 2.6.0

 * Update php-saml to 2.13.0
 * Add Status setting in order to enable or disable the plugin (Required on multi-
   sites environment since the plugin is enabled globally for the network)
 * Add 'Remember Me’ Login option to Settings
 * Fix bug on escaping value for customize_links_saml_login
 * If password is disabled.. turn field readonly.. not disable it
 * Add ability to expose attributes that come from saml via a WordPress
 * On multi-site environment, provision users on specific site if JIT enabled on
   that site.

#### 2.5.0

 * Update php-saml library to 2.11.0
 * Allow WP-CLI to work
 * Sanitize SAML settings input
 * Add support to SAML NameId Format

#### 2.4.7

 * Fix Signature & Digest algorithm support

#### 2.4.6

 * Fix validate page (debug/strict values were showed wrong)
 * Avoid error 500 when accesing ACS URL directly, instead print error.

#### 2.4.5

 * Update php-saml library to 2.10.5
 * Fixes some grammatical error
 * Use WP to determine wp-content path
 * Avoid double site URL concatenation
 * Replace deprecated add_contextual_help method
 * Signature & Digest algorithm support
 * On SP metadata publication validate only SP part.

#### 2.4.4

 * Relax Destination check.
 * On SLS, Print errors, not lastError (it will be printed if debug enabled)

#### 2.4.3

 * Update php-saml library to [2.10.0](https://github.com/onelogin/php-saml/releases/tag/v2.10.0)(
   it includes SAML Signature Wrapping attack prevention and other security improvements).
    - Fix Idp initiated sign out issue (WP session not closed) [#25](https://github.com/onelogin/wordpress-saml/issues/25)
    - Fix Ordering issue with Auth Check for SAML Validation [#23](https://github.com/onelogin/wordpress-saml/issues/23)
    - Be able to enable lowercase URL encoding (Compatibility issue with ADFS when
      validating Signatures

#### 2.4.2

 * Update php-saml library to 2.9.0 (it includes SAML Signature Wrapping attack 
   prevention).

#### 2.4.1

 * Update php-saml library to 2.8.0

#### 2.4.0

 * Use the worpress roles API to generate the options for the mappings a nd use 
   these mappings to set the user role. Add Role precedence support.
 * Add alternative ACS URL (WPEngine compatible)
 * Update php-saml library to 2.7.0

#### 2.3.1

 * Fix SAML link

#### 2.3.0

 * Uncomment out filter based custom role code
 * Add 'Keep Local login’ functionality in order to prompt the normal login form
   + a SAML link instead of directly execute the SP-initiaited SSO flow
 * Fix changelog
 * Update php-saml library to 2.6.1

#### 2.2.0

 * Password security issue
 * Add alternative solution/documentation about custom roles (php/functions.php 
   L167)
 * Call exit after any error message or redirection

#### 2.1.8

 * Improve the role/group support when multiple values on a single attribute statement.
 * Prevent to auto-update the role of the superuser

#### 2.1.7

 * Add NameIDFormat support.
 * Add requestedAuthnContext support.
 * SessionIndex and nameID is now passed to the IdP
 * Now retrieveParametersFromServer can be activated

#### 2.1.6

 * Update php-saml library to 2.5.0
 * Remove deprecated method wp_login
 * SLS inprovement

#### 2.1.5

 * Refactor sso/slo flow

#### 2.1.4

 * Added stay when slo and forced logn

#### 2.1.3

 * Updated the php-saml toolkit (now 2.2.0)
 * Added more Customization related to change password, reset password, change mail

#### 2.1.2

 * Fix minor bugs. Add customRole support (editing php/functions.php file, review
   commented code)

#### 2.1.1

 * Fix bug introduced in the reimplementation

#### 2.1.0

 * Reimplement the plugin architecture (was an independent plugin, now depends on
   wordpress).
 * Update the php-saml toolkit
 * Improve the i18n support
 * Improve base url and pase path
 * Override user registration or reset password links to link 3rd party (like IdP)
   urls.
 * Fix bug when role attribute carry a space as attribute

#### 2.0.0

 * Based on the new php toolkit, added many functionalities: JIT, SLO.

#### 1.0.1

 * Fixed installation issue.

#### 1.0.0

 * First version.

## Meta

 *  Wersja **3.7.1**
 *  Ostatnia aktualizacja **2 tygodnie temu**
 *  Włączone instalacje **6,000+**
 *  Wersja WordPressa ** 2.1.2 lub nowszej **
 *  Testowano do **7.1.4**
 *  Język
 * [English (US)](https://wordpress.org/plugins/onelogin-saml-sso/)
 * Tagi
 * [okta](https://pl.wordpress.org/plugins/tags/okta/)[OneLogin](https://pl.wordpress.org/plugins/tags/onelogin/)
   [SAML](https://pl.wordpress.org/plugins/tags/saml/)[Single Sign-on](https://pl.wordpress.org/plugins/tags/single-sign-on/)
   [sso](https://pl.wordpress.org/plugins/tags/sso/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/onelogin-saml-sso/advanced/)

## Oceny

 4.4 na 5 gwiazdek.

 *  [  12 recenzji 5-gwiazdkowych     ](https://wordpress.org/support/plugin/onelogin-saml-sso/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/onelogin-saml-sso/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/onelogin-saml-sso/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/onelogin-saml-sso/reviews/?filter=2)
 *  [  2 recenzje 1-gwiazdkowe     ](https://wordpress.org/support/plugin/onelogin-saml-sso/reviews/?filter=1)

[Twoja opinia](https://wordpress.org/support/plugin/onelogin-saml-sso/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/onelogin-saml-sso/reviews/)

## Zaangażowani

 *   [ sixtomartin ](https://profiles.wordpress.org/sixtomartin/)
 *   [ onelogin ](https://profiles.wordpress.org/onelogin/)

## Wsparcie

Zagadnienia rozwiązane w przeciągu ostatnich dwóch miesięcy:

     0 z 1

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/onelogin-saml-sso/)