ID DataWeb Integration Kit

Adding device profiling to a web application

If you have a web application that uses the PingFederate authentication API and cannot accommodate HTTP cookies, modify your web application to run the device profiling script.

About this task

For more information about the authentication API, see Authentication API in the PingFederate documentation.

Steps

  1. Add the following code to the sign-on page.

    <script type="text/javascript"
    src="<device profiling URL>"></script>

    For each sign-on event, insert the device profiling URL from PingFederate.

  2. Configure your application to complete the following actions in sequence:

    1. Get the device profiling URL from PingFederate. This is an attribute of the DEVICE_PROFILE_REQUIRED state.

    2. Run the device profiling script by including it in the page.

    3. POST continueAuthentication to the authentication API.

  3. When you complete the steps in Configuring an adapter instance, set the Device profiling method to Captured by this adapter.