Generating JavaScript integration code from VIP Manager
Complete the following steps to generate the VIP Integration JavaScript code for AD FS:
- Log into VIP Manager.
- Click thePoliciestab. The VIP Policy Configuration page is displayed.
- Under theAccounttab, click theVIP Integration Code for JavaScriptlink. A new window is displayed.
- In theMethodfield, selectManual.
- SelectUser Name + Security Codeas the authentication mode. Enter the following values that are case-sensitive to generate the VIP integration code.
- User Name Field Name: username
- Password Field Name: vippassword
- Security Code Field Name: security_code
- Form Name: loginForm
- SSP IDP Proxy URL: You do not need to enter SSP IdP Proxy URL when integrating JavaScript only for Push.
- Save the generated JavaScript code.
- On the AD FS computer, access the folder where the VIP AD FS integration module is installed (typicallyC:\Program Files\Symantec\ADFS\).
- Using a standard text editor, open the file..\JScripts\IAScript.js, and paste the generated JavaScript code.
- Paste the following lines after the functionvipAuth (), immediately before the</script>tag:window.onload = function() { document.getElementById("continueButton").click(); }
- By default, the AD FS service URL is displayed in the VIP Access Push notification sent to your users. You can replace this URL with a custom URL, referrer URL, or custom text in the VIP Access Push notification (VIP Access Push notifications with custom URL and text.). Set the custom URL or string by adding the following line between the<script>and</script>tags:var rpURLOverride = "<url>"Where<custom string>is the custom text or URL (including http or https).
- Save the file.For a sample of VIP integration code, see Sample VIP integration code.
