Skip to content

Conversation

@smgv
Copy link
Contributor

@smgv smgv commented Nov 26, 2025

Motivation and Context

Jira Link:

In this PR, We Introduced connect-sign & connect-only UX, adds a circular loader with connector-specific color, and enhances connector authorization flow and events. Updates IWeb3AuthCoreOptions to support initialAuthenticationMode and adds authorized / authorizing connector events. Refreshes hooks for isAuthorized and updates multiple connectors (EVM, Solana, WC v2, Coinbase, MetaMask). Demo and i18n strings updated.

Figma Link: https://www.figma.com/design/YkID6Vr1OVMevKawLiCYM1/Demo?node-id=4495-995&m=dev

Description

  1. UI/UX (Modal):
  • Added CircularLoader with connector color.
  • Updated Loader (Authorizing State), Root & Widget select.
  1. State/Context:
  • Updated Web3AuthInnerContext to surface authorization state.
  • modalManager tweaks for new flows and event emits.
  1. Core/API:
  • Extended IWeb3AuthCoreOptions with initialAuthenticationMode ( connect-sign & connect-only).
  • Added new connector events: authorized, authorizing; refined existing emits.
  1. Hooks:
  • Updated hooks to expose the isAuthorized status.
  1. Connectors:
  • Initial connect-sign setup for injected EVM.
  • Updates across injected EVM, MetaMask, Coinbase, WalletConnect v2.
  • Base Solana and Wallet Standard connector updates.

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project. (run lint)
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My code requires a db migration.

@smgv smgv self-assigned this Nov 26, 2025
@vercel
Copy link

vercel bot commented Nov 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
web3auth-web Ready Ready Preview Comment Dec 12, 2025 3:27pm

@smgv smgv marked this pull request as draft November 26, 2025 12:51
@smgv smgv changed the title Feat/connect sign feat: connect-sign Nov 27, 2025
@smgv smgv marked this pull request as ready for review December 3, 2025 08:56
@chaitanyapotti
Copy link
Member

@cursor review

@cursor
Copy link

cursor bot commented Dec 5, 2025

Skipping Bugbot: Bugbot is disabled for this repository


export const CONNECTOR_INITIAL_AUTHENTICATION_MODE = {
CONNECT_ONLY: "connect-only",
CONNECT_AND_SIGN: "connect-and-sign",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use snake case

Suggested change
CONNECT_AND_SIGN: "connect-and-sign",
CONNECT_AND_SIGN: "connect_and_sign",

@chaitanyapotti chaitanyapotti merged commit 9e65ee5 into master Dec 12, 2025
6 checks passed
@chaitanyapotti chaitanyapotti deleted the feat/connect-sign branch December 12, 2025 15:28
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.

4 participants