Advanced Configuration
Additional filtering can be achieved in your theme or a must-use plugin
This guide uses only the functions and settings provided by the WP SAML Auth plugin by default. Advanced configuration can be achieved by filtering wp_saml_auth_option in your theme, or a must-use plugin. Pantheon recommends an MU-Plugin over modifications to your theme.
For example, you can filter your entityID, assertionConsumerService, and baseurl values using environment variables, to always match the working environment. This is useful if you need Google authentication on all newly created Multidev environments, though additional SAML apps in the Google Admin may be required.
The example code snippet below demonstrates a basic filter, providing some of the same values already applied in the plugin settings page. Make sure you replace all example values with the appropriate values from your site.
See WP SAML Auth's annotated installation instructions for explanation of all potential configuration options.
Troubleshooting
-
Google has a dedicated support page with errors you may see on any of their screens.
-
Open an issue on the WP SAML Auth GitHub repo should you get stuck beyond what information is already online.