Introduction

The Identity Orchestration SDK is a client-side JavaScript SDK that allows you to communicate with the Orchestration server, run journeys, and submit client input. Contact your Transmit representative to learn more about our orchestration capabilities.

Benefits

The SDK offers the following advantages:

  • Abstract and simplify the communication scheme
  • Validate that the client input response contains the expected client input
  • Keep state between the last server response and the next client input response
  • Allow passing the state between pages, for multi-page applications

Installation

Add a script tag with the latest SDK to your HTML file

Copy
Copied
<script src="https://platform-websdk.transmitsecurity.io/platform-websdk/latest/ts-platform-websdk.js" id="platform-sdk"></script>

Initialization

The main orchestration SDK interface is IdoSDK. To initialize activate the following code:

Copy
Copied
// Initialize an instance of the Identity Orchestration SDK using the unified SDK
await window.tsPlatform.initialize({
  clientId: 'my-client-id',
  ido: { serverPath: 'https://api.transmitsecurity.io/ido'}
});

For more information, refer to the class reference, as well as the Quick start guides. We also recommend checking out the code samples for the various client side operations under IdoJourneyActionType.