Skip to content

Some WalletConnect query parameters are lost on redirection #6121

@kpyszkowski

Description

@kpyszkowski

Bug description

When visiting /wc route only uri query parameter is respected and passed when redirecting. In many cases WalletConnect generates URLs with other parameters such as requestId, sessionTopic and possibly other. These parameters are lost while redirecting from /wc route disturbing the WalletConnect session flow.

Possible solutions would be to provide a list of supported query parameters or pass all of them.

Environment

  • Browser: Chrome
  • Wallet: MetaMask
  • Chain: Ethereum mainnet

Steps to reproduce

  1. Try to connect to Safe Wallet using WalletConnect
  2. Notice requestId and sessionTopic query parameters in the URL
  3. Notice that when being redirected from /wc to /welcome or /home, query parameters are gone.

Expected result

All WalletConnect specific query parameters are rewritten to the URL on redirection.

Obtained result

The only WalletConnect specific query parameter that is rewritten to on redirection is uri.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions