Skip to content

Conversation

@brionmario
Copy link
Member

@brionmario brionmario commented Oct 23, 2025

Purpose

This pull request introduces WebAuthn/Passkey authentication support for browser environments, enhances session management APIs, and expands i18n translations for improved user experience and localization. The main changes include the addition of a WebAuthn authentication utility, updates to session-clearing methods in client classes, and new translation keys for SMS OTP and credential fields across multiple languages.

Basic Usage

<AsgardeoProvider
  baseUrl="https://localhost:8090"
  clientId="<CLIENT_ID>"
  platform="AsgardeoV2"
>
  <App />
</AsgardeoProvider>

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

- Added IdentifierFirst component for identifier-first authentication flow.
- Introduced MultiOptionButton component for rendering authenticators as selectable buttons.
- Created SignInOptionFactory to dynamically generate sign-in option components based on authenticator ID.
- Developed SmsOtp and Totp components for SMS and TOTP authentication respectively.
- Implemented UsernamePassword component for traditional username and password authentication.
- Added SocialButton component for handling authentication with external identity providers.
- Updated index.ts to export new components and refactor paths for non-component-driven options.
- Introduced types for form field state and authenticator props to enhance type safety.
- Introduced new API for executing the embedded sign-in flow (executeEmbeddedSignInFlowV2).
- Updated models to include new types and interfaces for V2 embedded sign-in flow.
- Enhanced configuration options to specify the platform for SDK optimization.
- Implemented component-driven sign-in UI to handle new flow responses.
- Refactored existing sign-in components to accommodate new flow structure.
- Added utility functions for transforming simple input types to component-driven format.
- Updated context and provider to manage platform-specific configurations.
@brionmario brionmario changed the title feat: add asagrdeo/thunder support feat: add asagrdeo/thunder support ⚡️ Oct 23, 2025
@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 c600c29 into asgardeo:main Oct 23, 2025
3 of 5 checks passed
@brionmario brionmario added the hacktoberfest-accepted Label required by the Hacktoberfest participating PRs to be listed on the user's profile label Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted Label required by the Hacktoberfest participating PRs to be listed on the user's profile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants