---
title: Recovery Code Collector Decision node
description: Lets users authenticate with a recovery code provided when registering a device for multi-factor authentication.
component: auth-node-ref
version: 7.4
page_id: auth-node-ref::recovery-code-collector-decision
canonical_url: https://docs.pingidentity.com/auth-node-ref/latest/recovery-code-collector-decision.html
llms_txt: https://docs.pingidentity.com/auth-node-ref/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
keywords: ["Nodes &amp; Trees", "Journeys", "Authentication", "Multi-factor Authentication (MFA)"]
page_aliases: ["auth-node-recovery-code-collector-decision.adoc"]
superseded_by: https://docs.pingidentity.com/auth-node-ref/latest/recovery-code-collector-decision.html
section_ids:
  compatibility: Compatibility
  outcomes: Outcomes
  properties: Properties
---

# Recovery Code Collector Decision node

Lets users authenticate with a recovery code provided when registering a device for multi-factor authentication.

Use this node for a flow that includes push notifications or one-time passwords. When the user loses their registered device, they can use a recovery code as an alternative method for authentication. For more information on viewing the recovery codes when registering a device, refer to [Register the ForgeRock Authenticator for multi-factor authentication](https://docs.pingidentity.com/pingam/7.4/am-authentication/authn-mfa-download-app.html#authn-mfa-register-device).

## Compatibility

| Product                                    | Compatible?           |
| ------------------------------------------ | --------------------- |
| PingOne Advanced Identity Cloud            | [icon: check, set=fa] |
| ForgeRock Access Management (self-managed) | [icon: check, set=fa] |
| Ping Identity Platform (self-managed)      | [icon: check, set=fa] |

## Outcomes

* `True`

* `False`

Evaluation continues along the `True` outcome path if the provided recovery code matches one belonging to the user. To determine whether the provided code belongs to the user, the shared state must include the username. You can obtain this using a [Username Collector node](am-only/username-collector.html) (standalone AM) or [Platform Username node](platform-username.html) (Ping Identity Platform deployment).

If the recovery code does not match, or a username has not been acquired, evaluation continues along the `False` outcome path.

## Properties

| Property           | Usage                                                                                   |
| ------------------ | --------------------------------------------------------------------------------------- |
| Recovery Code Type | Specify the type of recovery code the user will submit for verification.Default: `OATH` |
