Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] web3modal/siwe - SIWE does not popup when connecting with wallet #2355

Open
2facedsquid opened this issue Jun 3, 2024 · 4 comments
Open
Labels
bug Something isn't working needs review

Comments

@2facedsquid
Copy link

2facedsquid commented Jun 3, 2024

Link to minimal reproducible example

https://github.com/2facedsquid/siwe-test

Summary

When connecting with your injected wallet ( in my case I tested metamask ), the siwe message signing does not pop up, it only pops up when already connected and switching the network or the wallet account.

There is also an error in the console of the browser regarding this endpoint call - https://rpc.walletconnect.com/v1/profile/reverse/{address}?projectId={projectId}

with this response:
{
"status": "FAILED",
"reasons": [
{
"field": "address",
"description": "No name for address is found"
}
]
}

I presume this console error is not tied to the @web3modal/siwe integration, since it is also present when siwe is not integrated

List of related npm package versions

Issue was first discovered on this config:
"@tanstack/react-query": "^5.40.0",
"@web3modal/siwe": "^4.2.3",
"@web3modal/wagmi": "^4.2.3",
"viem": "^2.13.3",
"wagmi": "^2.9.8"

The issue is still happening on this config:
"@tanstack/react-query": "^5.45.1",
"@web3modal/siwe": "^5.0.2",
"@web3modal/wagmi": "^5.0.2",
"viem": "^2.15.1",
"wagmi": "^2.10.2"

@2facedsquid 2facedsquid added bug Something isn't working needs review labels Jun 3, 2024
Copy link

linear bot commented Jun 3, 2024

@Un173
Copy link

Un173 commented Jun 17, 2024

Experiencing similar behavior on Vue with versions @web3modal/siwe and @web3modal/wagmi above 4.1.11
Very concerned.

@2facedsquid
Copy link
Author

Retested after the 5.0.2 release of web3modal and the issue is still present

@OladetounJed
Copy link

experiencing similar issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs review
Projects
None yet
Development

No branches or pull requests

3 participants