Orchestration SDKs

Getting Started with the Journey module for JavaScript

PingOne Advanced Identity Cloud PingAM JavaScript


This getting started guide provides the fastest path to integrating authentication journeys into your JavaScript applications.

You will learn how to add the Journey module, configure it to communicate with the identity server, and write the code to initiate a login.

You’ll handle each step of an authentication journey, from collecting user credentials to processing the final session token upon success or handling errors if the login fails.

The high-level steps you’ll complete in this guide are as follows:

Configuring the server for JavaScript

Before you begin ensure you have set up your Advanced Identity Cloud tenant or PingAM server with the required configuration.

Installing the Journey module in JavaScript

Learn how to install the Journey module into your Android projects.

Configuring the Journey module in JavaScript

Explore the configuration options you have available for connecting the Journey module to your Advanced Identity Cloud tenant or PingAM server, and controlling how the module behaves.

Starting an authentication journey in JavaScript

Every journey starts with the first step! Find out how to tell the Journey module to start an authentication journey.

An authentication journey consists of a number of authentication nodes, each is responsible for a particular tasks, such as obtaining credentials, or performing a risk assessment.

Learn how the Journey module navigated an authentication journey, and how to handle the callbacks the server sends in each step.

Managing sessions and tokens in JavaScript

Learn how to obtain a user object and session token, sign the user out, and manage OpenID Connect (OIDC) tokens, including retrieving, refreshing, and revoking them.