Skip to content

[bug] Email sign in requires refresh to sign message #5568

@CamooCodee

Description

@CamooCodee

Link to minimal reproducible example

https://github.com/CamooCodee/reown-siwx-email-signin-bug.git

Steps to Reproduce

  1. git clone https://github.com/CamooCodee/reown-siwx-email-signin-bug.git
  2. cd reown-siwx-email-signin-bug
  3. npm install
  4. Enter a valid project id in /src/App.jsx line 6
  5. npm run dev

Video demo of the issue: https://drive.google.com/file/d/1EWN68J5njVkYiIOAqd9G78s9vRq5XCc1/view?usp=sharing

  1. Sign in with email
  2. Enter Reown OTP
  3. The popup to sign the message does not pop up.
  4. After refreshing, it does pop up.

Summary

I've noticed that when setting up SIWX with the Solana Adapter, that the email signup fails to bring up the popup to sign the login message. A user would have to refresh the page in order to get the popup, which seems highly impractical.

I could not reproduce this with Oauth or wallet logins. This only happens with Email login.

Expected Behaviour:
The popup would come up right after the OTP verification is successful, instead of requiring a manual refresh (as it works for Oauth login and wallet logins).

Note: I've tested in multiple Browsers, including one with no Browser Extensions.

List of related npm package versions

"@reown/appkit": "^1.8.18", "@reown/appkit-adapter-solana": "^1.8.18", "@reown/appkit-siwx": "^1.8.18",

Node.js Version

v24.1.0

Package Manager

npm@11.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions