Skip to content

CryptoOnramp Example: passwordless demo mode + wallet prefill#6255

Draft
jeanregisser wants to merge 5 commits intojeanregisser/crypto-onramp-passwordless-demofrom
jeanregisser-passwordless-demo
Draft

CryptoOnramp Example: passwordless demo mode + wallet prefill#6255
jeanregisser wants to merge 5 commits intojeanregisser/crypto-onramp-passwordless-demofrom
jeanregisser-passwordless-demo

Conversation

@jeanregisser
Copy link
Copy Markdown
Member

Summary

  • Passwordless login for allowlisted demo emails (build-time xcconfig with local override)
  • Plus-addressing support (e.g. alice+test@stripe.com matches alice@stripe.com)
  • Non-demo emails see an informative error message
  • Prefill wallet address per demo email

This is temporary for an upcoming demo and will be removed once no longer needed.

Motivation

Streamline the demo experience so testers can quickly go through the onramp flow without needing to enter a password or manually type wallet addresses.

Testing

Manual testing in the CryptoOnramp Example app:

  • Passwordless login works for allowlisted demo emails
  • Non-demo emails see an informative error message
  • Wallet address is prefilled for configured demo emails

Changelog

Not user-facing (example app only).

Add build-time config (xcconfig with local override) to enable
passwordless login for an allowlist of demo emails, with
plus-addressing support.

Committed-By-Agent: claude
@jeanregisser jeanregisser force-pushed the jeanregisser-passwordless-demo branch from aeadb9c to 0a0a20c Compare March 24, 2026 23:23
@jeanregisser jeanregisser changed the base branch from master to jeanregisser/crypto-onramp-passwordless-demo March 24, 2026 23:28
Chain registration and authentication so the user doesn't need to tap
"Authenticate" separately after registering. If verification fails, the
user lands on the Authenticate button and can retry manually.

Committed-By-Agent: claude
@jeanregisser jeanregisser force-pushed the jeanregisser-passwordless-demo branch from 0a0a20c to abe3722 Compare March 24, 2026 23:33
Autofilled or pasted phone numbers often contain spaces, dashes, or
parentheses which cause registration to fail. Strip non-E.164 characters
on submit (rather than on input, to preserve readable formatting).

Committed-By-Agent: claude
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

Successfully merging this pull request may close these issues.

1 participant