Skip to main content

Ping IdentityConfigure XFA as an Authentication Factor on Ping Identity

Configure XFA on Ping Identity as an authentication factor to add device verification to sign-in. Ping Identity authenticates the user, XFA checks the device against your configured policy, and access continues when the device decision allows it. Use it to confirm the required settings and test the authentication flow before rollout.

Note: This guide assumes that you have an account set up with XFA for your organization and you're an admin for that organization on both XFA and Ping Identity. If you do not have an account for XFA, you can create one at https://dashboard.xfa.tech/signup.

Create an integration in XFA Dashboard

After logging in to the XFA Dashboard, navigate to the Connections page, click on Add application and select Ping Identity as the integration type. The page will show several values you will need during the next steps. It also contains the field Callback URL that you will have to fill with a value from the Ping Identity administration portal during the following step.

Keep this page opened during the next step.

Create an External IdP to use as Authentication Factor in Ping Identity

1. Create an External IdP

In the administration portal of Ping Identity (log in to Ping Identity and click Administrators on the left menu), navigate to Integrations > External IdPs and click on + Add Provider.

Choose OpenID Connect as the type of the new External IdP which you can find in the Custom section.

Fill in 'XFA' as a name, and fill in an optional description. When pressing the logo shown on the page, you can upload a different logo. You can download the XFA logo from the XFA Dashboard on the page you have left open from the previous step.

Press Continue

2. Configure the External IdP

Fill out the following details, copying them from the XFA Dashboard:

Connection Details

  • Client ID
  • Client Secret
  • Copy the Callback URL back to the XFA Dashboard page.

OpenID Connect discovery details

  • Leave the Discovery Document URI empty
  • Authorization Endpoint
  • Token Endpoint
  • JWKS URI
  • Issuer
  • User Information Endpoint
  • Requested Scopes
  • Set Token Endpoint Authentication Method to Client Secret Post

Click Save and Continue to create the External IdP.

Leave the values as is on the Map Attributes page, and click Save and Finish.

3. Create a new Authentication Factor

In the administration portal of Ping Identity, navigate to Authentication > Authentication, click on + Add Policy.

Give the policy a name such as 'XFA'.

Next, select Login as the first factor, leave the settings as is (or modify them to your liking).

  • Click Add Step and select External Identity Provider as the second factor.
  • Under External Identity Provider use the dropdown to select the one you've just created in the previous step.
  • Select Pass user context to provider
  • Click Save

Apply the policy to applications

In the Ping Identity portal, go to Applications > Applications and select the application you want to enforce XFA on.

Select Policies, and check the policy you've just created in the previous step.

Now, when logging into that application you will be prompted to verify your device through XFA after successfully logging in using your regular login.

note

Won't I lose my 2FA identity verification?
In Ping Identity you can have more than 1 extra factor, so you could also set a 2FA identity verification. However, the smoothest experience is gained through XFA, we provide 'Built-in passkey', which allows you to verify your identity through known devices which you've explicitly trusted with XFA. In this way your device act as a second factor. Read our documentation about Built-in passkey for more information.

Roll XFA out to more groups

Start with a dedicated test application that uses the XFA authentication policy. Limit access to that application to a small PingOne group, then add more groups after testing.

Application access restriction

Users outside the selected groups cannot access this application. Group-based application access does not let them use the same application without XFA. Use a dedicated test application so other users keep access to their existing applications under those applications' unchanged policies.

  1. Create a small test group under Directory > Groups.
  2. Add a non-admin test user on the group's Users tab using Add Individually.
  3. Open your dedicated test application under Applications > Applications.
  4. Open Access and click the pencil icon to edit its access settings.
  5. Leave Must have admin role unselected so the non-admin test user can sign in.
  6. Select the test group under Group Membership Policy > Groups. It appears in Applied Groups.
  7. Save the access settings with Save.
  8. Apply the XFA authentication policy to this test application using Apply the policy to applications.
  9. Test a fresh sign-in with the group member. The user should reach XFA after their regular sign-in.
  10. Verify that a user outside the group cannot access the test application and can still use their unchanged applications.
  11. Add the next group under Access > Group Membership Policy > Groups.
  12. Select User is a member of any applied group.
  13. Save the updated access settings with Save.
  14. Repeat the sign-in tests before adding another group.

Keep the same group access settings when applying the policy to more applications. Selecting all-group membership would require each user to belong to every listed group.