Auth node reference

Device Profile Collector node

The Device Profile Collector node collects metadata about the user’s device using the DeviceProfileCallback.

Find more information in the documentation on this callback for:

Use this node with the Device Profile Save node to create a trusted profile from the collected data. You can use the trusted device profile in subsequent authentication attempts. For example, with the Device Match node and Device Location Match node.

You can use device-profiling nodes with or without the Ping SDKs.

The Ping SDKs have built-in support for device-profiling nodes, which lets you collect richer device information. Without the Ping SDKs, you’re dependent on what device details are collected in the web browser.

It’s up to you what information you collect from users and devices.

Always use data responsibly and provide your users with appropriate control over data they share with you.

You’re responsible for complying with any regulations or data protection laws.

Examples

Example 1: Device profiling journey

The following journey authenticates the user and checks whether the current device is trusted. If the device isn’t trusted yet, the journey requires an additional authentication factor and lets the user opt to trust the device:

Checking whether the current device is trusted

Example 2: Device profiling journey with location matching

The following journey authenticates the user and checks whether the current device is located within ten kilometers of a previously saved device location. If the user doesn’t have a saved device that matches the current device identifier or the device location is outside of this range, authentication fails:

Checking whether the current device is located within range of a previously saved location

Example 3: Device profiling with trusted locations

The following journey checks whether the user’s device is located within ten kilometers of their company’s office locations. If the device’s location is within this range from one of the offices, the journey proceeds and prompts the user to authenticate. If the device’s location is outside this range from all of the offices, authentication fails:

Checking whether the current device is located within range of the trusted locations before authenticating

Example 4: Device profiling with tampered device verification

The following journey determines the likelihood that the user’s device has been tampered with or poses a security risk. If the device scores below or equal to the set threshold, the journey proceeds and prompts the user to authenticate. If the device scores more than the set threshold, authentication fails:

Checking whether the current device is considered safe before authenticating

Availability

Product Available?

PingOne Advanced Identity Cloud

Yes

PingAM (self-managed)

Yes

Ping Identity Platform (self-managed)

Yes

Inputs

This node can read the device name from the incoming node state if it exists.

Dependencies

This node has no dependencies.

Configuration

Property Usage

Maximum Profile Size (KB)

The maximum accepted size, in kilobytes, of a device profile.

If the collected profile data exceeds this size, authentication fails.

Default: 3

Collect Device Metadata

Select this option to request device metadata.

Collect Device Location

Select this option to request device location.

When selected, the browser prompts the user to consent to their location being shared. The browser connection must be secure.

Message

(Optional) Add custom, localized text to display to the user while the node collects the requested data.

Add instructions
  1. Click .

  2. In the Key field, enter the locale. For example, en-gb.(1)

  3. In the Value field, enter the message.

  4. Click Done.

  5. Repeat to add more messages and save your changes when you’re done.

Leave blank to use the default message.(2)

(1) Specify a locale that Java supports, such as en-gb. Otherwise, the node throws a configuration exception with an Invalid locale provided message.

(2) PingAM only: Learn more about customizing and translating default messages in Internationalize nodes.

Outputs

The node writes the device metadata to the forgeRock.device.profile shared state object if the Collect Device Metadata option is selected.

The device metadata includes the device name. This is either obtained from the shared state if available or is derived from the platform being used. For example Mac (Browser) is the device name given when the device is a web browser on the Mac operating system.

If the Collect Device Location option is also selected and the user consents, the device location details are included in this object under the location attribute.

In addition to the collected metadata, the shared state includes an identifier, which uniquely identifies the device through the journey.

Outcomes

Single outcome path.

Errors

This node doesn’t log messages of its own.