diff --git a/perun/proxy/utils/nagios/check_saml.py b/perun/proxy/utils/nagios/check_saml.py
index 9c3995b1ba35237b4a5c7ccd9215aa8293a5cb05..8523189cb88737ae9668d807eab242438bff7eed 100755
--- a/perun/proxy/utils/nagios/check_saml.py
+++ b/perun/proxy/utils/nagios/check_saml.py
@@ -284,6 +284,7 @@ class SAMLChecker:
     def js_form_redirect(self, html, url, force=False):
         if (
             force
+            or "document.getElementsByTagName('input')[0].click();" in html
             or "document.forms[0].submit()" in html
             or "javascript:DoSubmit();" in html
         ):