Skip to main content

JavaScript

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Framework-agnostic core that powers the browser, Node, and platform SDKs.

API reference​

Every export is fully typed. The signatures and props below come from the package's own reference documentation, so what is listed here is what the installed version ships.

See the full API reference for every export, its signature and an example.

Flows​

  • Embedded Recovery Flow (V2) (export): executeEmbeddedRecoveryFlowV2 drives a step-by-step account recovery flow (e.g., password reset) without a browser redirect.

  • Embedded Sign-In Flow (V1) (export): These functions implement app-native (embedded) sign-in for the V1 flow protocol.

  • Embedded Sign-In Flow (V2) (export): executeEmbeddedSignInFlowV2 drives a step-by-step sign-in sequence using the V2 flow protocol.

  • Embedded Sign-Up Flow (V1) (export): executeEmbeddedSignUpFlow drives a step-by-step registration flow without a browser redirect.

  • Embedded Sign-Up Flow (V2) (export): executeEmbeddedSignUpFlowV2 drives a step-by-step user registration flow using the V2 protocol.

  • Flow Meta (V2) (export): getFlowMetaV2 fetches aggregated metadata for a V2 flow context, including application branding, organization unit details, theme configuration, and available translations.

  • User Onboarding Flow (V2) (export): executeEmbeddedUserOnboardingFlowV2 drives a post-sign-in onboarding sequence (e.g., profile completion, consent collection) without a browser redirect.

Functions​

  • Branding (function): The branding functions fetch the visual configuration (colors, logos, typography) defined in the Choreo Identity & Access Management Console and apply it to your UI.

  • Configuration (function): The initialize() method accepts a configuration object (AuthClientConfig) that controls how the SDK connects to your Choreo Identity & Access Management instance and manages authentication.

  • Errors (function): The SDK uses a hierarchy of typed error classes.

  • HttpClient (function): HttpClient is an abstract base class that provides handler lifecycle management, request/response callbacks, and parallel request utilities.

  • Internationalization (function): The SDK ships with built-in translation bundles for Choreo Identity & Access Management UI components and provides utilities for loading, extending, and normalizing translations.

  • StorageManager (function): StorageManager is the typed storage layer used internally by ThunderIDJavaScriptClient.

  • Theme (function): The theme system provides a structured way to define colors, typography, spacing, and other visual properties used by Choreo Identity & Access Management UI components.

  • ThunderIDJavaScriptClient (function): ThunderIDJavaScriptClient is the base class that all platform-specific Choreo Identity & Access Management clients extend.

  • Utilities (function): The SDK exports a set of utility functions used internally by platform SDKs and available to custom integrations.

User​

  • User Profile (export): These functions read and update user profile data from the OIDC userinfo endpoint.

  • User Schemas (export): The SDK provides helpers for working with user schema data.

Was this page helpful?