---
title: Preparing Advanced Identity Cloud or PingAM for FIDO in JavaScript
description: PingOne Advanced Identity Cloud PingAM JavaScript
component: orchsdks
page_id: orchsdks:journey:use-cases/fido/javascript/before-you-begin
canonical_url: https://developer.pingidentity.com/orchsdks/journey/use-cases/fido/javascript/before-you-begin.html
revdate: Fri, 13 May 2022 09:39:02 +0200
section_ids:
  javascript-fido-journeys: Configuring authentication journeys for FIDO on JavaScript
  next_steps: Next steps
---

# Preparing Advanced Identity Cloud or PingAM for FIDO in JavaScript

[icon: circle-check, set=far]PingOne Advanced Identity Cloud [icon: circle-check, set=far]PingAM [icon: js, set=fab]JavaScript

Before enabling FIDO authentication in your JavaScript apps you must configure your authentication journeys for FIDO.

## Configuring authentication journeys for FIDO on JavaScript

Authentication journeys for FIDO primarily use these nodes:

* WebAuthn Registration Node

  Handles the creation and storage of new passkeys.

* WebAuthn Authentication Node

  Manages the sign-in process by issuing and verifying challenges.

Learn more about creating authentication journeys for FIDO in [Journeys for WebAuthn](https://docs.pingidentity.com/pingoneaic/latest/am-authentication/authn-mfa-webauthn.html#authn-mfa-web-authn).

To prepare your authentication journeys to use FIDO with a JavaScript application, you need to configure each **WebAuthn Registration node** and **WebAuthn Authentication node** in your authentication journey to work with your JavaScript app.

|   |                                                                                                                                                                                                                              |
| - | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | You must use the same configuration values in each **WebAuthn Registration node** and **WebAuthn Authentication node** in the journey.Any mismatches in configuration between these nodes will cause authentication to fail. |

* Each WebAuthn Registration node and WebAuthn Authentication node

  1. In Origin domains, enter the URL where you host your JavaScript app.

     For example, `https://app.example.com`.

     |   |                                                                                                           |
     | - | --------------------------------------------------------------------------------------------------------- |
     |   | If you leave Origin domains empty, the server uses the origin of incoming requests as an accepted origin. |

* Each WebAuthn Registration node

  1. In Accepted signing algorithms, include one or more of `ES256` and `RS256`.

  2. Ensure the Limit registrations option is **not enabled**.

## Next steps

You can now proceed to [Integrating FIDO auth journeys in JavaScript](javascript-fido-auth-journey.html).
