--- title: "OneSpan Auth Add Device (Node)" slug: "oca-fig-onespan-auth-add-device-node" updated: 2025-07-04T10:09:38Z published: 2025-07-08T14:14:51Z canonical: "docs.onespan.com/oca-fig-onespan-auth-add-device-node" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # OneSpan Auth Add Device (Node) > Availability: OneSpan Authentication for ForgeRock 1.1.0 and later This node is specifically for OCA use cases. In a provisioning process, after scanning the activation password, the authenticator returns its device code. This node prompts for that device code and continues the process. Outcome paths: - Success - Error ## Properties None. ## Data flow

OneSpan Auth Add Device inbound data

Attribute name

Source

Description

ostid_registration_id

Shared state

The registration ID

deviceCode

Shared state

The device code of the authenticator.

OneSpan Auth Add Device outbound data (Error case)

Attribute name

Storage

Description

ostid_error_message

Shared state

The error message

## API references - [Add Device (/registrations/{registrationID}/add-device)](https://community.onespan.com/products/onespan-cloud-authentication/sandbox#/Provisioning/addDeviceUsingPOST)