We’re updating a aging instance of WordPress from PHP 5.6 to PHP 7.2 and, when performing the required PHP compatibility check, we are getting a ton of warnings and errors for this plugin. Is this plugin PHP 7.2 compatible? Please see the logs below for more detailed information about the errors and warnings we are seeing. Thanks
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/lib/views/sso_help.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/www/_include.php
--------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
21 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
--------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/www/auth/login.php
---------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------
40 | ERROR | Using 'continue' outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
---------------------------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/templates/includes/footer-embed.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/modules/core/templates/loginuserpass.php
-------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------
1 | WARNING | File has mixed line endings; this may cause incorrect results
-------------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/modules/core/lib/Auth/Process/PHP.php
----------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------
47 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
----------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/modules/core/lib/Auth/Process/GenerateGroups.php
---------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------
142 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
---------------------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/modules/core/lib/Storage/SQLPermanentStorage.php
---------------------------------------------------------------------------------------------------------------------
FOUND 22 ERRORS AFFECTING 22 LINES
---------------------------------------------------------------------------------------------------------------------
70 | ERROR | Extension 'sqlite' is removed since PHP 5.4
74 | ERROR | Extension 'sqlite' is removed since PHP 5.4
75 | ERROR | Extension 'sqlite' is removed since PHP 5.4
76 | ERROR | Extension 'sqlite' is removed since PHP 5.4
77 | ERROR | Extension 'sqlite' is removed since PHP 5.4
78 | ERROR | Extension 'sqlite' is removed since PHP 5.4
80 | ERROR | Extension 'sqlite' is removed since PHP 5.4
91 | ERROR | Extension 'sqlite' is removed since PHP 5.4
95 | ERROR | Extension 'sqlite' is removed since PHP 5.4
96 | ERROR | Extension 'sqlite' is removed since PHP 5.4
99 | ERROR | Extension 'sqlite' is removed since PHP 5.4
100 | ERROR | Extension 'sqlite' is removed since PHP 5.4
101 | ERROR | Extension 'sqlite' is removed since PHP 5.4
134 | ERROR | Extension 'sqlite' is removed since PHP 5.4
135 | ERROR | Extension 'sqlite' is removed since PHP 5.4
136 | ERROR | Extension 'sqlite' is removed since PHP 5.4
177 | ERROR | Extension 'sqlite' is removed since PHP 5.4
178 | ERROR | Extension 'sqlite' is removed since PHP 5.4
179 | ERROR | Extension 'sqlite' is removed since PHP 5.4
198 | ERROR | Extension 'sqlite' is removed since PHP 5.4
199 | ERROR | Extension 'sqlite' is removed since PHP 5.4
200 | ERROR | Extension 'sqlite' is removed since PHP 5.4
---------------------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/lib/SimpleSAML/Utilities.php
--------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 18 ERRORS AFFECTING 11 LINES
--------------------------------------------------------------------------------------------------------------------------------------------------------
2231 | ERROR | The constant "MCRYPT_RIJNDAEL_256" is deprecated since PHP 7.1 and removed since PHP 7.2
2232 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
2234 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
2234 | ERROR | Function mcrypt_get_block_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
2235 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
2235 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
2236 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
2236 | ERROR | Function mcrypt_get_key_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
2247 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
2247 | ERROR | Function mcrypt_encrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
2267 | ERROR | The constant "MCRYPT_RIJNDAEL_256" is deprecated since PHP 7.1 and removed since PHP 7.2
2268 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
2270 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
2270 | ERROR | Function mcrypt_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
2271 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
2271 | ERROR | Function mcrypt_get_key_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
2279 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
2279 | ERROR | Function mcrypt_decrypt() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
--------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/lib/SimpleSAML/Logger/LoggingHandlerFile.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
1 | WARNING | File has mixed line endings; this may cause incorrect results
-----------------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/lib/SimpleSAML/Logger/LoggingHandlerErrorLog.php
---------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------
1 | WARNING | File has mixed line endings; this may cause incorrect results
---------------------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/lib/xmlseclibs.php
-------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 42 ERRORS AFFECTING 25 LINES
-------------------------------------------------------------------------------------------------------------------------------------------------------
209 | ERROR | The constant "MCRYPT_TRIPLEDES" is deprecated since PHP 7.1 and removed since PHP 7.2
210 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
216 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
217 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
223 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
224 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
230 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
231 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
318 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
318 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
318 | ERROR | The constant "MCRYPT_RAND" is deprecated since PHP 7.1 and removed since PHP 7.2
391 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since PHP 7.1 and removed since PHP 7.2
409 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
409 | ERROR | Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
410 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
410 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
410 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
410 | ERROR | Function mcrypt_enc_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
410 | ERROR | The constant "MCRYPT_RAND" is deprecated since PHP 7.1 and removed since PHP 7.2
411 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
411 | ERROR | Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
412 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
413 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
413 | ERROR | Function mcrypt_enc_get_block_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
418 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
418 | ERROR | Function mcrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
419 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
419 | ERROR | Function mcrypt_generic_deinit() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
420 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
420 | ERROR | Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
425 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
425 | ERROR | Function mcrypt_module_open() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
426 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
426 | ERROR | Function mcrypt_enc_get_iv_size() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
431 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
431 | ERROR | Function mcrypt_generic_init() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
432 | ERROR | Function mdecrypt_generic() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
433 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
433 | ERROR | Function mcrypt_generic_deinit() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
434 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
434 | ERROR | Function mcrypt_module_close() is deprecated since PHP 7.1 and removed since PHP 7.2; Use OpenSSL instead
435 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 and removed since PHP 7.2
-------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /data/wordpress/wp-content/plugins/saml-20-single-sign-on/saml/lib/_autoload.php
--------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------
70 | WARNING | Use of __autoload() function is deprecated since PHP 7.2
--------------------------------------------------------------------------------------
]]>
Hi,
Anyone help me to resolve this issue.Asap
SimpleSAML_Error_BadRequest: BADREQUEST(‘%REASON%’ => ‘Invalid message received to AssertionConsumerService endpoint.’)
1 /wp-content/plugins/saml-20-single-sign-on/saml/modules/saml/www/sp/saml2-acs.php:18 (require)
0 /wp-content/plugins/saml-20-single-sign-on/saml/www/module.php:135 (N/A)
Thanks in advance
]]>Hi @ktbartholomew,
Wondering if you provide paid support for configuring and setting up SSO with this plugin?
Steve
]]>I’m using the SAML-plugin for SSO on an internal website. The plugin is working, but after that the user goes to the ‘/wp-admin’-page.
Where can I set a different landing page after SSO-login?
Plugin is installed and working well however as a users is removed from Active Directory their WordPress account remains. While this isn’t an immediate issue if a new person is added to AD when they authenticate with the same email address it will try to connect to the old lapsed account.
My question is this. Can you recommend a method by which lapsed user accounts can be cleared from WordPress if they do not exist within AD?
]]>I have filled in Identity Provider and Service Provider.
I go back to General tab to get my (SP) metadata to transfer to test Identity Provider. I click on the link – ‘File not found’.
File path something like:
https://~.~.~/wp-content/plugins/saml-20-single-sign-on/saml/www/module.php/saml/sp/metadata.php/1
I have poked around to see if I could find it manually. No luck so far.
One thought – Identity Provider is not ADFS 2.0, OneLogin or SimpleSAMLPHP w/ Active Directory.
Anybody any ideas?
Thanks,
Peter
Install the Plugin I am getting the “Fatal error”
atal error: Call to undefined function wp_roles() in /var/www/html/wp-content/plugins/saml-20-single-sign-on/lib/classes/saml_settings.php on line 392
]]>We have plugin v0.9.4 on our WP 4.7.2, under Apache 2.4
We also have ADFS 2.0 server on Windows 2012
We are configured according to Keith’s post in https://www.ads-software.com/support/topic/use-with-adfs, and our users can login!
We have a few challenges
– some users don’t have their group attributes sent through to simplesaml. Our Claim rules include Token-Groups – Unqualified Names as Group. All AD users have primary Group of Domain Users, in one domain. Some users only see “groups” in their attributes, containing users and members. My account also has my Windows groups with attribute https://schemas.xmlsoap.org/claims/Group
What about AD user accounts might be different?
– the permissions are being applied to the lowest level, instead of highest. If in Service Providers I set plugin to have my group as Administrator (leave other roles empty), and login, then I am a WP Admin. If I put a second group as Subscribers that I am also part of, then my account is demoted to Subscriber on next login.
– Seems related, but if we check the box in Service Provider to “allow unlisted as Subscriber”, unlisted users will be added with “None” permission, not Subscriber.
Anyone else observe, and hopefully fix this? As I recall, in plugin v0.9.2, the permissions hierarchy was working for us.
]]>Hello all, I am wondering if we can expect compatibility with the most (very) recent major update to wordpress, 4.7.
I see of course on the plugin page it shows the plugin should be compatible up to version 4.4.5, however I am hoping this just hasn’t been updated in a while.
Has anyone used this plugin with a more recent version, like 4.6 or 4.7?
Does anyone know any specific reason it is not compatible with more recent versions?
I believe I will be trying to use this with the SAML provider Ping.
Thanks
]]>I’ve got this configured properly as far as I can tell… authenticates against my IdP successfully. I used to get the “username not provided” message but added a rule on the IdP and now I get this message- “The website administrator has not given you permission to log in”. Any help is appreciated!!
]]>I have installed the SAML 2.0 Single Sign-On Plug-In … I’m enable to get the ADFS login page when I select the login option on the site.
What do I need to configure additionally?
Thanks!
Hi folks
I have installed the plugin in a WordPress running in the Cloud, I mean, in a cloud platform.
Since this service is running in the cloud, I do not have persistent file system, so, any time the WordPress is restarted or updated, the configuration of SAML’s plug in is lost.
I need to upload the package with the configuration itself.
Could you please let me know how to set up the configuration files (path, names and an example to know the format) manually?
Regards
]]>Would like to set a forced relogin for users after a set period of time rather than maintain the token for the duration of the session. Is this possible?
]]>This can happen pretty easily if you’re setting up with a non-SSO user and then attempt to test login using an account having the same email address.
Recommendation: rather than having the browser go into a redirect loop, handle the error with something along the lines of “This email address is already in use.”
]]>i need to integrate ADFS for my website is possible from this plugin
]]>I get an error connection with this plugin on our sign-in page.
Found the following in our error logs, can you advise what to do and if this might be causing our issue:
[Tue Sep 27 19:05:24.761789 2016] [:error] [pid 25406] [client 74.62.226.36:24709] PHP Fatal error: require_once(): Failed opening required ‘/nas/content/live/ouhsd/wp-content/plugins/saml-20-single-sign-on/lib/classes/saml_settings.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /nas/content/live/ouhsd/wp-content/plugins/saml-20-single-sign-on/samlauth.php on line 32
Here is a link to a screenshot displaying the error we are getting:
https://www.dropbox.com/s/c8r1lrylynx61dv/Screenshot%202016-09-28%2009.58.00.png?dl=0
Let me know if there is any other information I should provide and or guidance you can give.
Thank you
]]>I am integrating a php application with ADFS using simplesamlphp. I am getting the following error when i try to login. I am trying to test the login using the adfs domain account. Once I enter the username and password i will get the following error.
I have only 1 claim which is for domain name, which is AM-Account-Name => Windows account name.
Somebody please help me urgently.your help is much appreciated.
SimpleSAML_Error_Error: UNHANDLEDEXCEPTION
Backtrace:
0 /var/simplesamlphp/www/module.php:180 (N/A)
Caused by: sspmod_saml_Error: Responder
Backtrace:
3 /var/simplesamlphp/modules/saml/lib/Message.php:392 (sspmod_saml_Message::getResponseError)
2 /var/simplesamlphp/modules/saml/lib/Message.php:499 (sspmod_saml_Message::processResponse)
1 /var/simplesamlphp/modules/saml/www/sp/saml2-acs.php:120 (require)
0 /var/simplesamlphp/www/module.php:137 (N/A)
I have followed one of the previous blog solution, https://www.ads-software.com/support/topic/unhandled-exception/ and changed the algorithm to SHA1.
]]>Hi,
I’m running the latest WordPress and version 0.9.2 of the SAML2.0 module which is working fine apart from one issue we’ve been unable to resolve. Any links from MS Office documents to the SSO WP site running the module fails. Direct access to the site works fine?
The error is:———————————
SimpleSAML_Error_NoState: NOSTATE
Backtrace:
2 /var/www/vhosts/thegreencoreway.com/httpdocs/wp-content/plugins/saml-20-single-sign-on/saml/lib/SimpleSAML/Auth/State.php:232 (SimpleSAML_Auth_State::loadState)
1 /var/www/vhosts/thegreencoreway.com/httpdocs/wp-content/plugins/saml-20-single-sign-on/saml/modules/saml/www/sp/saml2-acs.php:54 (require)
0 /var/www/vhosts/thegreencoreway.com/httpdocs/wp-content/plugins/saml-20-single-sign-on/saml/www/module.php:135 (N/A)
with the help suggestion of——————
This error probably is due to some unexpected behaviour or to misconfiguration of simpleSAMLphp. Contact the administrator of this login service, and send them the error message above.
———————————–
Create this link in any word document:
Thanks
Rob
]]>Hi,
There is an issue with SLO, plugin doesn’t destroy wordpress’ user session, when user is logging out from another site. SAML logout request is received, and response is correct, but user still has session token in his meta.
Executing wp_destroy_current_session() during logout request handling fixes this problem. Hopefully, it will help anybody else, but it would be great to include this fix into plugin. Is it possible to make such update? And if yes, when can it be done?
Thanks!
Ivan
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>Hi there,
I successfully installed the plugin with all green checks.
Once you try to authenticate it redirects successfully to the simplesamlphp (simplesamlphp-1.14.7) login server and once authenticated it then redirects back to WordPress site.
I then get a blank white screen. Using Fiddler you get a 400 Result with the following in Apache2 Log file:
PHP Warning: Class SimpleSAML_Session has no unserializer in /var/www/html/wp-content/plugins/saml-20-single-sign-on/saml/lib/SimpleSAML/SessionHandlerPHP.php on line 132
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/html/wp-content/plugins/saml-20-single-sign-on/saml/lib/SimpleSAML/Error/Assertion.php
I am using the self signed cert from when I installed the simplesamlphp site.
Thanks in advance.
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>Does your plugin support single sign on using ADFS 3.0?
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>Hello Support Team,
Please provide us the steps for how to integrate ping IDP with this plugin. It will help to others also.
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>After i logged in with saml is_user_logged_in() returns false.
But when i navigate to the back-end (wp-login.php) and back to the front-end it returns true. Any idea?
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>I am trying to run this behind a load balancer, and receiving the NO STATE error.
After reading the simplesamlphp docs, it shows to either set up memcache or write to the database. I have attempted both, and it still seems to write a PHPSESSION cookie.
Does this plugin overwrite this functionality? Just hoping I am not chasing down the wrong fix.
Cheers,
D.
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>Hi,
can we use saml 2.0 single sign on with sha256 certificates ?
thanks,
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>Our use case is we are launching a web site for a large corporate client. The site is designed to provide information and discussion forums for our client’s employees and the client has requested the following:
The site will be hosted in a cloud environment on a public IP address – not by the client itself.
The site can only be seen by employees of the company
The have many employees at different locations in the US
The client uses Active Directory and ADFS for employee authentication, and they want us to use the same authentication approach for any access to this system.
The authentication we are looking for has nothing to do with the WordPress panel or WordPress publishing or wp-admin in general, and we are not looking to synchronize any of the AD information with the WordPress user/account structures.
The authentication we want is – in simple terms – “Is this person an authenticated client employee? If they are, they can see and interact with the site (NOT publish to the site). If not, they can’t see the site at all.”
Does your plugin support this model?
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>When logging in with SAML i’m redirected to the the following URL:
wp-content/plugins/saml-20-single-sign-on/saml/www/module.php/saml/sp/saml2-acs.php/1/wp-admin/install.php
which obviously doesn’t load. Logging in with the bypass url works fine.
I’ve got a quite complex server setup with both dedicated varnish and memcache servers. Memcache servers are being used as an object store with php and the PHP sessions are being held in the memcache servers.
Any idea why i’d be getting redirected to the install.php page?
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>i am trying to config the plugins with Shibboleth idP and after configuring everything i am getting an error from the shibboleth side:
Simple signature validation (with no request-derived credentials) failed
Message did not meet security requirements
I’ve set up the certificate, and key all looks good in the config page.
anyone???
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>Hello,
I′d like to test the SSO Plug-In today, but I′ve got the following error-message, when I try to access the login page:
Fatal error: Class ‘DOMDocument’ not found in /srv/www/htdocs/wp-content/plugins/saml-20-single-sign-on/saml/lib/SAML2/Message.php on line 342
public function toUnsignedXML() {
$this->document = new DOMDocument();
$root = $this->document->createElementNS(SAML2_Const::NS_SAMLP, 'samlp:' . $this->tagName);
$this->document->appendChild($root);
/* Ugly hack to add another namespace declaration to the root element. */
$root->setAttributeNS(SAML2_Const::NS_SAML, 'saml:tmp', 'tmp');
$root->removeAttributeNS(SAML2_Const::NS_SAML, 'tmp');
$root->setAttribute('ID', $this->id);
$root->setAttribute('Version', '2.0');
$root->setAttribute('IssueInstant', gmdate('Y-m-d\TH:i:s\Z', $this->issueInstant));
if ($this->destination !== NULL) {
$root->setAttribute('Destination', $this->destination);
}
if ($this->issuer !== NULL) {
SAML2_Utils::addString($root, SAML2_Const::NS_SAML, 'saml:Issuer', $this->issuer);
}
return $root;
}
And I′ve another question. My administrator need to get information like “Identifier” and a “URL endpoint” (something like https://…. .saml) to set it up in the IdP. Where can I find these information?
Best regards
Hugo
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>Hi Team,
I am using SAML SignOn plugin through that user can automatically login using windows login. I want to redirect user to requested page after pass through SSO login. Currently it’s showing blog main page instead of showing requested page. For example:(User requested page is this https://localhost:8088/WP451/?p=5, after passing SSO it’s going to https://localhost:8088/WP451 not to particular post).
Any help on this.
Thanks in advance
https://www.ads-software.com/plugins/saml-20-single-sign-on/
]]>