Skip to content

Pre-filled values for inAppWallet auth options #7126

Closed as not planned
Closed as not planned
@gabrielstoica

Description

@gabrielstoica

Hi!

I was wondering if there's any support to directly prefill or "force" a custom pre-defined value for an inAppWallet auth option in the ConnectEmbed component.

For example, when the component is configured as follows:

<ConnectEmbed
   client={client}
   wallets={[inAppWallet({ auth: { options: ["email"] } })]}
/>

a custom pre-defined john@gmail.com value could be passed:

<ConnectEmbed
   client={client}
   wallets={[inAppWallet({ auth: { options: ["email"], values: ["john@gmail.com"] } })]}
/>

This allows pre-filling the connect widget when an invite-based system is in place, where users are invited via email - therefore an exact value must be enforced at the signup time.

cc @joaquim-verges

Metadata

Metadata

Labels

Good First IssueGood issue for anyone new to the codebase.Stale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions