Integrating the VIP integration code for JavaScript
Use the VIP integration code for JavaScript to integrate VIP IA with your externally accessible web applications.
- To configure VIP integration code for JavaScript:
- Sign in to your account in VIP Manager.
- SelectPoliciesin the navigation bar at the top of the page.
- In theAccounttab, select theEditlink.
- UnderVIP Integration Code for JavaScript, enter the externally-accessible domain name(s) of the web applications that you plan to use with VIP IA. This step is optional for IA, but required if you configure Remembered Device authentication with VIP IA.For example, if your sign-in page URL is https://vpn.example.com, enterexample.com.
- Select the link forGet VIP Integration Code for VPN.
- Select a method to generate the code.TheSimplifiedmethod assumes that your Validation server is configured in User Name + LDAP Password + Security Code authentication mode.
- If you selected the Simplified method, enter the URL for out-of-band authentication options. The URL must start withhttpsif you use the secure protocol for VPN.
- For users within the enterprise, the URL for the Self Service Portal IDP should be similar tohttps://<Your_Self_Service_Portal_IDP_URL>/vipssp/login
- For users outside the enterprise, the URL for the Self Service Portal IDP proxy should be similar tohttps://<Your_Self_Service_Portal_IDP_Proxy_URL>/dmzssp/DmzListenerIf you use a third-party reverse proxy in the DMZ, map the Self Service Portal IDP URL (https://<Your_SSP_IDP_URL>/vipssp/login) to your proxy URL and use the reverse proxy URL on this page.
If not already done, you must also configure the VIP Self Service Portal IDP or VIP Self Service Portal IDP Proxy in VIP Enterprise Gateway. - If you selected theManualmethod, choose your preferred authentication mode, and then enter the required field and form names.
- Example for User Name field name:<input type="text" value="" name="Signin.username"/>
- Example for Password field name:<input type="password" value="" name="Signin.password"/>
- Example for Form name:<form name="SigninForm" action="signin.action" method="post">
- ClickGenerate VIP Integration Code.
- Copy the VIP integration code that you generated in the VIP Manager.
- To enable enhanced device fingerprinting, modify the VIP integration code. Add&enhancedDFEnabled=trueto the end of the code, just before the final</script>tag.
- Paste the code between the<head>and</head>tags of your sign-in page.Your sign-in page is now ready for VIP IA or VIP IA/Remembered Device layered authentication.
- Optionally, you can display a custom URL or referrer URL in the VIP Access Push notification sent to a user. Set the custom URL by adding the following line as a global variable between the<head>and</head>tags of your sign-in page:var rpURLOverride = "<url>"Where<url>is the customer URL, includinghttporhttps.
If your application requires additional code modification for the sign-in page, you need to download your application's integration guide from VIP Manager for details.