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

Improve UX: Auto-load wallet without requiring biometric re-authentication on page refresh #16

Open
Lou1sVuong opened this issue Feb 17, 2025 · 0 comments

Comments

@Lou1sVuong
Copy link

Current Behavior

Currently, when users refresh the page or revisit the site, they need to:

  1. Click "Access Wallet" button
  2. Re-authenticate using biometrics
    This creates unnecessary friction in the user experience.

Proposed Solution

Implement automatic wallet loading using IndexedDB to store the private key:

  1. First access: Use WebAuthn for biometric authentication
  2. After successful authentication: Store private key in IndexedDB
  3. On page refresh/revisit:
    • First attempt to load wallet from IndexedDB (no biometric needed)
    • If IndexedDB fails, fallback to WebAuthn authentication

Benefits:

  • Seamless user experience with automatic wallet loading
  • Reduced authentication prompts
  • Maintains security with biometric fallback
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