Skip to content

Users stuck on "Creating your wallet" after Twitter login (Solana, Next.js, Privy React Auth v3.7.0) #152

@amshiro

Description

@amshiro

We would really appreciate any help or guidance on this issue 🙏 This is currently affecting our users' onboarding experience quite a bit.
😭😭😭😭😭😭🙏🙏🙏🙏🙏🙏

Summary

We are seeing an issue where some users fail to get an embedded wallet created after logging in via Twitter.

Observed Behavior

For affected users:

  • Privy modal shows: "Creating your wallet" indefinitely
  • No wallet is created
  • In the Privy dashboard:
    • Linked accounts only show Twitter (no wallet)
    • Session status is Inactive

Expected Behavior

After Twitter login:

  • A wallet should be created automatically
  • Session should become active
  • User should be fully authenticated

Actual Behavior

  • Twitter login succeeds
  • User is created
  • Wallet creation does NOT complete
  • Session remains inactive
  • Frontend stays stuck in loading state

Environment

  • Next.js (SSR enabled)
  • @privy-io/react-auth@^3.7.0
  • Solana embedded wallets

Questions

  1. What could cause wallet creation to fail after OAuth login?
  2. Does an Inactive session indicate a failed wallet creation flow?
  3. Are there known issues with session initialization after OAuth redirects in Next.js?
  4. Is there a recommended way to retry wallet creation manually?

Additional Context

This issue only affects some users and is not consistently reproducible.

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