CRON and OneLogin
-
When using the require SSO option, CRON jobs can be blocked. We disable the WP_CRON and use the servers CRON to call wp_cron.php on a more accurate schedule. OneLogin will block these if your set to require SSO.
It’s an easy fix. Just like you do for WP_CLI. Change
function saml_sso() { if ( defined( 'WP_CLI' ) && WP_CLI ) { return true; }
to
function saml_sso() { if ( defined( 'WP_CLI' ) && WP_CLI || wp_doing_cron() ) { return true; }
Would love to get this added so we don’t have to patch on updates.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘CRON and OneLogin’ is closed to new replies.