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] SIWE: Messages signed with CB Smart Wallet don't verify #2165

Open
1 task done
morleyzhi opened this issue Aug 29, 2024 · 1 comment
Open
1 task done

[bug] SIWE: Messages signed with CB Smart Wallet don't verify #2165

morleyzhi opened this issue Aug 29, 2024 · 1 comment

Comments

@morleyzhi
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

RainbowKit Version

2.1.5

wagmi Version

2.12.2

Current Behavior

Signing a message shows the error "Error verifying signature, please retry!"

Expected Behavior

Signing a message should sign you into the app

Steps To Reproduce

  1. Clone the repo
  2. Navigate to https://github.com/rainbow-me/rainbowkit/tree/main/examples/with-next-siwe-next-auth
  3. yarn and yarn dev
  4. Sign into CB Smart Wallet
  5. Connect using CBW
  6. Attempt to sign a message

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

https://github.com/rainbow-me/rainbowkit/tree/main/examples/with-next-siwe-next-auth

Anything else?

No response

@morleyzhi
Copy link
Author

Following the advice in this article, I used a viem client to verify the SIWE message, which worked.

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

No branches or pull requests

1 participant