Forum Discussion

rschiefer's avatar
7 years ago

JavaScript not evaluated on Internal Service Check

I'm trying to check an ASP.NET website that is authenticated via ADFS.  The website redirects to ADFS to authenticate the user.  Once ADFS authenticates the user it uses a webpage with some JavaScript to redirect the user back to the original website with the appropriate auth tokens.  

<script language="javascript">
window.setTimeout('document.forms[0].submit()', 0);
</script>

 

It appears the Internal Service Check does not execute this script to submit the form and redirect back to the website.  

It there anyway to make this work?