VIP ADFS Push fails with 'Integration Error: You have encountered an unexpected error. Try again later"
search cancel

VIP ADFS Push fails with 'Integration Error: You have encountered an unexpected error. Try again later"

book

Article ID: 173123

calendar_today

Updated On:

Products

VIP Integrations

Issue/Introduction

VIP with ADFS integration, using the 2-factor PUSH access. OTP is not affected. 

Integration Error: You have encountered an unexpected error. Try again later. If this error continues, contact your administrator.

Cause

Expected characters are missing from IAScripts.js file. 

Resolution

  • Edit the IAScript.js file using a standard text editor.
  • Locate the function vipAuth() section of the file.
  • Compare this section of the code to the sample in the VIP Integration Guide for ADFS.
    Sample taken from the guide:
    <!-- BEGIN VIP integration code -->
    <script type="text/javascript" src="https://userservices.vip.symantec.com/vipuserservices/resources/js/v_1_0/vip?appId=8802758888&idpURL=https://vipsspidp.com:8233/vipssp/trustedserviceaccess&autoIntegration=manual"></script>
    <script type="text/javascript">
    function vipAuth() {
    vipIaIntegrationProperties.setAuthenticationMode('uo');
    vipIaIntegrationProperties.setUsernameFieldName('username');
    vipIaIntegrationProperties.setPasswordFieldName('vippassword');
    vipIaIntegrationProperties.setSecurityCodeFieldName('security_code');
    vipIaIntegrationProperties.setFormName('loginform');
    }
    window.onload = function() {
    document.getElementById("continueButton").click();
    }
  • During the login, enable the browser developer tools and use the console view to identify the form field where the Syntax error occurs.
  • Fix the value in that field, including all parenthesis(), semi-colons;, single' and double" quotes, etc.
  • For example, the missing single-quote in this line would cause SyntaxError would cause the error to occur:
    vipIaIntegrationProperties.setFormName(loginform');
  • Restart the AD FS server.

Attachments