Skip to content

Conversation

@KaveeshaPiumini
Copy link
Contributor

@KaveeshaPiumini KaveeshaPiumini commented Jan 22, 2026

Purpose

This pull request adds support for passkey-based authentication and registration to the sign-in and sign-up flows. It introduces new state management and effect hooks to trigger browser passkey popups and handle their responses, and updates the internationalization (i18n) files with passkey-related strings in multiple languages.

Passkey Authentication & Registration Integration:

  • Added state management and effect hooks to SignIn.tsx and BaseSignUp.tsx to detect passkey challenges or creation options from the backend, trigger the browser's passkey UI, and submit the results to complete the authentication or registration flow. [1] [2] [3] [4] [5] [6] [7] [8]

Internationalization (i18n) Updates:

  • Extended the I18nTranslations interface and updated translation files (en-US, fr-FR, hi-IN, ja-JP, pt-BR, pt-PT, si-LK, ta-IN, te-IN) to include new passkey-related UI strings for button labels, headings, and descriptions. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Utilities:

  • Imported new utility functions handlePasskeyAuthentication and handlePasskeyRegistration to handle the browser interactions for passkey flows. [1] [2]

These changes enable seamless passkey-based authentication and registration across supported languages, improving both security and user experience.

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

@KaveeshaPiumini KaveeshaPiumini force-pushed the main branch 5 times, most recently from b284a56 to 6b861d8 Compare January 22, 2026 18:26
brionmario
brionmario previously approved these changes Jan 23, 2026
@brionmario brionmario changed the title Add passkey support for the SDK Add passkey support for the AsgardeoV2 (Thunder) Jan 23, 2026
@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.

@KaveeshaPiumini KaveeshaPiumini merged commit 973fabd into asgardeo:main Jan 23, 2026
3 of 6 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.

3 participants