OKX Wallet on mobile Chrome issue

When using Web3Auth on mobile, selecting OKX Wallet always redirects me to an old OKX download landing page instead of deep‑linking into the already installed OKX app.

I’m testing on a mobile phone where:

  • Chrome browser is installed and used to open my dApp.

  • The OKX app (with wallet functionality) is already installed and initialized.

  • Other parts of Web3Auth work, but OKX specifically always opens an external “download OKX” page that is no longer valid, so the user cannot complete the login.

I’d like to confirm whether this is a configuration issue on my side or a bug / known limitation in the OKX wallet integration in Web3Auth.

Which platform or framework are you using (e.g., React, Vue, Android, iOS, Unity, Node, etc.)?

  • Web (mobile web)

  • Framework: Next.js + React + TypeScript

  • Browser: Chrome mobile on Android (opened directly in Chrome, not inside any in‑app WebView)

    Which Web3Auth / Embedded Wallet SDK (SDK Name and version) are you using?

    (I don’t know the exact version numbers off the top of my head, please adjust these to your real values before posting.)

    • Web3Auth SDK: @web3auth/* (used via a custom web3auth instance in our lib/web3auth helper)

    • We call web3auth.connect() for the social login flow.

1 Like

Hi roy — thanks for the clear report. It sounds like you’re reporting an issue (not exploring a new integration) where the OKX option in Web3Auth on mobile Chrome always redirects to an old OKX download page instead of deep-linking into the installed OKX app.

Summary of what I extracted from your message (so the support team can triage quickly):

  • SDK Details: MetaMask Embedded Wallets (using Web3Auth integration)
  • Platform: Web (mobile web)
  • Framework: Next.js + React + TypeScript
  • Browser: Chrome on Android (not an in-app WebView)
  • Web3Auth usage: calling web3auth.connect() for social/login flow
  • Issue: Selecting OKX in Web3Auth always opens an external “download OKX” landing page instead of deep-linking into the installed OKX app

Helpful next info (only request things you haven’t already provided):

  • Exact Web3Auth package names and versions from your package.json (e.g. @web3auth/modal, @web3auth/core, @web3auth/openlogin, etc.). If you don’t know, a copy/paste of the relevant package.json deps is perfect.
  • The Web3Auth initialization snippet you use (the code where you construct the Web3Auth instance / adapters) and the call site where you call web3auth.connect(). If any adapter options or custom modal settings are used, include those lines. (You already said you call web3auth.connect() — paste the actual code if available.)
  • A screenshot of the landing page that appears and any browser console output (errors or warnings) captured when selecting OKX. If possible, a HAR or network trace of the redirect sequence is helpful.
  • Does this happen on multiple Android devices and Chrome versions, or only one device/version?

What to try right now (possible causes & quick checks):

  1. Confirm Web3Auth OKX adapter support and version — older Web3Auth adapters may use an older OKX link/flow. If you’re on older @web3auth packages, upgrading may fix it.
  2. Remote-debug Chrome on your phone (chrome://inspect) and capture the console/network activity while choosing OKX — that often shows whether the SDK is calling an old OKX URL or whether the browser is rewriting the link.
  3. Try manually opening OKX’s deep-link URI (if you know it) from the browser address bar or a test link to see if the device handles the scheme correctly. If the scheme resolves to the app, then the problem is likely Web3Auth using a wrong URL; if it doesn’t, the device/OKX app may not have registered the intent.
  4. As a temporary workaround, consider allowing users to authenticate via WalletConnect (if OKX supports it) or another provider until the OKX deep-link is resolved.

Relevant docs to check:

If you want, paste the package.json deps and your Web3Auth initialization + connect snippet and I’ll look for likely misconfiguration or adapter version issues. If you can attach the console screenshot or the final redirect URL that opens, that will speed up triage. I’ll follow up once you provide those details — thanks for reporting this, and I’ll help get it tracked with the support team.

Note: This response was generated by an AI bot and may require further verification. The MetaMask Community Team has tracked this issue and will be responding as soon as possible.

Additionally, we would recommend you to join our biweekly Office Hours to get this resolved even faster. MetaMask Developer Office Hours