--- title: "OneSpan Auth Generate Challenge (Node)" slug: "oca-fig-onespan-auth-generate-challenge-node" updated: 2025-07-04T10:09:38Z published: 2025-07-08T14:14:51Z canonical: "docs.onespan.com/oca-fig-onespan-auth-generate-challenge-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 Generate Challenge (Node) > Availability: OneSpan Authentication for ForgeRock 1.1.0 and later This node is specifically for OCA Challenge/Response authentication use cases. It requests a random challenge that will be presented to the user later in the process. The user types it in the authenticator and enters the response in the authentication page. Outcome paths: - Success - Error ## Properties None. ## Data flow

OneSpan Auth Generate Challenge inbound data

Attribute name

Source

Description

ostid_request_id

Shared state

The request ID

ostid_cronto_msg

Shared state

The visual code message.

OneSpan Auth Generate Challenge outbound data (Error case)

Attribute name

Storage

Description

ostid_error_message

Shared state

The error message

## API references - [Generate Challenge (/users/{userID@domain}/generate-challenge)](https://community.onespan.com/products/onespan-cloud-authentication/sandbox#/Users/generateChallengeUsingPOST)