Skip to content

Conversation

@arch1995
Copy link
Contributor

@arch1995 arch1995 commented Nov 17, 2025

Motivation and Context

Jira Link: https://consensyssoftware.atlassian.net/browse/W3APD-5184

Description

  • After disconnecting from social login provider, we need to clear the wagmi connector state so that if we reconnect, we can setup the new connector with the new provider from web3auth
  • Previously, if the state isn't cleared, the connector had the last provider state and if you change the provider type (like social to metamask), it wasn't working

How has this been tested?

devrels tested this

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.

@vercel
Copy link

vercel bot commented Nov 17, 2025

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

Project Deployment Preview Comments Updated (UTC)
web3auth-web Error Error Nov 17, 2025 7:37pm

@arch1995 arch1995 self-assigned this Nov 17, 2025
@chaitanyapotti chaitanyapotti merged commit 8301d1e into master Nov 19, 2025
5 of 6 checks passed
@chaitanyapotti chaitanyapotti deleted the fix/disconnect-state-mismatch branch November 19, 2025 05:37
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