Skip to content

Integrate Design APIs of Thunder#371

Merged
brionmario merged 3 commits intoasgardeo:mainfrom
brionmario:refactor-thunder-flows
Feb 18, 2026
Merged

Integrate Design APIs of Thunder#371
brionmario merged 3 commits intoasgardeo:mainfrom
brionmario:refactor-thunder-flows

Conversation

@brionmario
Copy link
Member

@brionmario brionmario commented Feb 18, 2026

Purpose

This pull request introduces support for retrieving and utilizing flow metadata from the new Asgardeo V2 platform API (GET /flow/meta). It adds a new API client, comprehensive type definitions, and wires flow metadata into the core sign-in, sign-up, and sign-out button components. Additionally, it exposes the new API and types in the JavaScript package's public interface, and adds a configuration option for resolving themes from flow metadata.

New API and Type Definitions:

  • Added a new API client function getFlowMetaV2 to fetch aggregated flow metadata from the Asgardeo V2 platform, including application/OU details, design configuration, translations, and registration flow status.
  • Introduced extensive TypeScript types and enums for flow metadata, including FlowMetaType, ApplicationMetadata, OUMetadata, DesignMetadata, I18nMetadata, FlowMetadataResponse, and related theme configuration types in flow-meta-v2.ts.

Component Integration:

  • Updated the base and public sign-in, sign-up, and sign-out button components in React to accept and propagate the new meta prop, which contains the flow metadata (or null if unavailable). This allows downstream consumers and custom render functions to access flow metadata. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]

Public API and Configuration:

  • Exported the new API client and all related types from the JavaScript package's main entry point for external use. [1] [2]
  • Added a resolveFromMeta option to the Preferences interface to allow theme resolution from the Flow Meta API when using Asgardeo V2.

Build and Scripts:

  • Added new build scripts for building only the packages or samples directories, improving developer workflow.

Related Issues

Related PRs

  • N/A

Checklist

  • Followed the CONTRIBUTING guidelines.
  • Manual test round performed and verified.
  • Documentation provided. (Add links if there are any)
  • Unit tests provided. (Add links if there are any)

Security checks

@brionmario brionmario force-pushed the refactor-thunder-flows branch from ff23ec1 to 29b351f Compare February 18, 2026 17:16
@brionmario brionmario force-pushed the refactor-thunder-flows branch from 29b351f to 53e4971 Compare February 18, 2026 17:27
@asgardeo-github-bot
Copy link

🦋 Changeset detected

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

@brionmario brionmario merged commit 103b83d into asgardeo:main Feb 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consume the flow/meta endpoint of Thunder to reolve theme, i18n, etc.

3 participants

Comments