wp-simple-saml icon indicating copy to clipboard operation
wp-simple-saml copied to clipboard

SSO Config validation causes fatal error before metadata is saved

Open Clorith opened this issue 3 years ago • 2 comments

In an environment with the plugin network enabled, entering the network settings page to provide the SSO IdP Metadata provides a broken settings page, as the SSO Config validation field expects the metadata to exist already when viewing the page.

The outcome of this is that it is impossible to save the page, so you are unable to add the metadata to resolve the issue without manually adding the sso_idp_metadata meta key and value to the wp_sitemeta database.

Clorith avatar Oct 21 '22 12:10 Clorith

I'm having the same issue. It appears to only occur when using PHP version >= 8.1

Saolee avatar Jan 17 '23 12:01 Saolee

In our case it was on an WP Engine environment, running PHP 8.0

Clorith avatar Jan 17 '23 15:01 Clorith