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
Learn more in Authentication API in the PingFederate documentation.
Steps
-
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.
-
Configure your application to complete the following actions in sequence:
-
Get the device profiling URL from PingFederate. This is an attribute of the
DEVICE_PROFILE_REQUIRED
state. -
Run the device profiling script by including it in the page.
-
POST
continueAuthentication
to the authentication API.
-
-
When you complete the steps in Configuring an adapter instance, set the Device profiling method to Captured by this adapter.