diff --git a/play.php b/play.php index ea5e7b6721..1e82948eb0 100644 --- a/play.php +++ b/play.php @@ -297,7 +297,7 @@ function check_security_type($security_setting) unset($errors); } else { - if ($xerte_toolkits_site->authentication_method === 'Saml2') + if (in_array($xerte_toolkits_site->authentication_method, ['Saml2', 'OAuth2'], true)) { if (isset($_SESSION['toolkits_logon_username'])) {