---
title: Recovery Code Display node
description: Retrieves generated recovery codes from the transient state and presents them to the user, for safe-keeping. The codes can be used to authenticate if a registered device is lost or stolen.
component: auth-node-ref
version: 7.3
page_id: auth-node-ref::auth-node-recovery-code-display
canonical_url: https://docs.pingidentity.com/auth-node-ref/latest/recovery-code-display.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
section_ids:
  outcomes: Outcomes
  properties: Properties
  example: Example
---

# Recovery Code Display node

Retrieves generated recovery codes from the transient state and presents them to the user, for safe-keeping. The codes can be used to authenticate if a registered device is lost or stolen.

Use this node with the [WebAuthn Registration node](auth-node-webauthn-registration.html), the [OATH Registration node](auth-node-oath-registration.html) or the [Push Registration node](auth-node-push-registration.html).

Generated recovery codes are inserted into transient state when evaluation continues along the `Success` outcome path of the MFA nodes configured to generate recovery codes. Connect this node to the `Success` outcome path to display the codes.

If no recovery codes are available in transient state, evaluation continues along the only outcome path, and nothing is displayed to the user.

|   |                                                                                                                                                                                 |
| - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | Generated recovery codes cannot be retrieved from the user's profile—​they are one-way encrypted.This node is the one and only opportunity to view and save the recovery codes. |

## Outcomes

Single outcome path.

## Properties

This node has no configurable properties.

## Example

The following shows example output of this node:

![The Recovery Code Display node in context](_images/trees-node-recovery-code-display-output.png)
