---
title: Overview of the SSO flow
description: With the TruValidate Integration Kit, PingFederate includes the TruValidate API in the sign-on flow as follows.
component: truvalidate
page_id: truvalidate::pf_truvalidate_ik_overview_sso_flow
canonical_url: https://docs.pingidentity.com/integrations/truvalidate/pf_truvalidate_ik_overview_sso_flow.html
llms_txt: https://docs.pingidentity.com/integrations/truvalidate/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: May 30, 2025
section_ids:
  description: Description
---

# Overview of the SSO flow

With the TruValidate Integration Kit, PingFederate includes the TruValidate API in the sign-on flow as follows.

![Diagram showing how the TruValidate API is integrated in the sign-on process.](_images/truvalidate_sso_flow.png)

## Description

1. A user initiates the sign-on process by requesting access to a protected resource.

2. Depending on the device profiling method, the TruValidate IdP Adapter or a previous authentication adapter retrieves the latest JavaScript from TruValidate.

   |   |                                                                               |
   | - | ----------------------------------------------------------------------------- |
   |   | For the previous adapter method, this takes place at the same time as step 1. |

3. Depending on the device profiling method, the TruValidate IdP Adapter or a previous authentication adapter runs the TruValidate JavaScript, which builds the device profile and packages it in an encrypted blackbox.

4. The TruValidate IdP Adapter sends the blackbox and transaction insight parameters to the TruValidate API and requests the risk result for the transaction.

5. The TruValidate API returns a JSON payload with the risk result and other attributes to the TruValidate IdP Adapter.

6. The TruValidate IdP Adapter makes the risk result and contract attributes available in the authentication policy.

7. PingFederate executes the authentication policy, which branches based on the risk result reported by the TruValidate IdP Adapter.

8. PingFederate returns the resource that the user requested.
