Using web3auth-wagmi-connector, setting uxMode to "redirect" removes query parameters from the initial URL

  • SDK Version: 6.1.7
  • Platform: Web

Using uxMode: “redirect” of OpenLoginAdapter, the redirect removes the query parameters of the original URL.

Is this expected behaviour and is there a way to fix?

@afarley Thanks for your patience.

You need to set replaceUrlOnRedirect in Openlogin Adapter settings to false to keep the query parameters. Please refer to:

@vjgee This has been fixed with v7 using the following package versions:
@web3auth/base”: “^7.0.1”,
@web3auth/coinbase-adapter”: “^7.0.2”,
@web3auth/metamask-adapter”: “^7.0.1”,
@web3auth/modal”: “^7.0.3”,
@web3auth/web3auth-wagmi-connector”: “^5.0.1"

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.