Pass the menu and read the page

SignupFolio

4 steps to add Web3 sign-in and MFA to a Clerk signup

Key Takeaways

  • Switch on the wallet providers first and the second factor second, since each sits on its own dashboard page and can be tested alone.
  • The platform handles the signing request and verifies the signature for the wallet address, so your team does not have to build that check.
  • Choose the second factor by recovery need, because backup codes are single-use and work only as a fallback beside another method.
  • Set up a recovery path before you require MFA for every user, because the platform leaves end-user MFA resets to you.
  • Test the full path, from wallet signup through MFA setup to a backup-code login, before you send paid traffic to the form.

What this setup decides

Wallet sign-in is a login method in which a visitor proves control of a crypto wallet address by signing a message, and multi-factor authentication (MFA) is a second check at sign-in that uses a separate factor. Everything in this guide is about how those two checks sit together on one signup form.

Clerk provides wallet authentication with either Base, MetaMask, Coinbase Wallet, or OKX Wallet, according to Clerk. The table below sets out what each option needs at setup and who it tends to suit. The last column is editorial judgment about audience, not a statement from the platform.

Wallet providerSetup noteWho it tends to suit
Base, Coinbase Wallet and OKX WalletEach is switched on from the same wallet page as the other providersVisitors who already hold one of these wallets
MetaMaskVisitors need the browser extension installed before they can sign inVisitors who already use the extension

Your decision has three parts: which wallets to offer, which second factor to turn on, and how a user gets back in when they lose that factor. The platform handles the message signing itself, so the wallet choice is mostly a question of who your visitors are rather than of cryptographic build work. Order matters as well. Wallet sign-in changes the form a visitor sees, so it goes first, and MFA changes what happens after that first sign-in, so it comes once the wallet path works end to end.

TL;DR: confirm your plan and production settings, switch on the wallet providers you need, enable the MFA strategies and backup codes you can support, and test signup and recovery before you make MFA required.

Who this is for

This guide is for growth leads and product owners who want a wallet option on a signup form and need MFA on the same accounts. It assumes your signup already runs on the identity platform named in the title, and that someone on your side can change dashboard settings or hand them to an engineer who can.

Red flags: your signup has to work for visitors who cannot set up any second factor; nobody on your team owns account recovery; or your product cannot ask a returning user for one extra prompt without losing them. If any of these is true, fix it first, because the steps below assume the flow can absorb a second check.

Confirm your plan and environment

Start with the plan. MFA needs a paid plan for production, while development mode lets you test it for free, so you can build and rehearse the flow before you pay for production use. A team that finds the plan gap during launch has to change billing and settings in the same week, and that kind of rush is how recovery paths get skipped.

Next, decide which user fields you collect at signup, such as email, phone or username, and set them on the User & authentication page before you add wallet options. A wallet sign-in may not give you an email address, so decide early whether your recovery and support process needs one. If it does, treat email as a field you collect on every path, including the wallet path, rather than assuming it will arrive later.

Finally, check production on its own. Do not assume a setting you saw working in development is live in production, and make that production check part of the launch checklist rather than an afterthought.

Turn on the wallet providers you want

Open the wallet page in the dashboard and switch on each provider you plan to offer. Start with one or two rather than all four. Every added provider is another path your test plan has to cover, and the paths are not identical, since the MetaMask path needs its browser extension installed.

After you save, test sign-in on the hosted sign-in page, where each enabled wallet should appear as an option. Then check the signup form itself, not only the sign-in form, because a visitor who starts at signup needs the wallet choice in the same place they would normally type an email address.

Wallet labels matter too. WCAG's success criterion on headings and labels says that where a label is present, it must be accurate and sufficiently clear or descriptive, according to W3C. In practice, the wallet button should name a wallet the visitor already recognizes, and one short line beside it should say what happens after the click.

The table below lists the outside pages this guide leans on and the point each one carries.

Source pagePoint it carriesWhere it applies in this setup
Clerk sign-up and sign-in optionsWallet authentication covers Base, MetaMask, Coinbase Wallet and OKX WalletChoosing which providers to switch on
WCAG headings and labelsWhere a label is present, it must be accurate and sufficiently clear or descriptiveWording the wallet button
CISA alert on phishing-resistant MFAStrongly urges all organizations to implement phishing-resistant MFADeciding whether to offer passkeys
NIST authenticator lifecycle guidanceRecommends notifying the subscriber when a new authenticator is bound to the accountWriting the recovery process
Sign-In with Ethereum standardThe message names the requesting domain and carries a nonce to prevent replay attacksReading what a wallet signature proves

Turn on MFA and choose a backup path

On the Multi-factor page, switch on the strategies you intend to support. The platform lists SMS verification code, authenticator app (TOTP) and backup codes. The table below sets out what each one does and the limits to plan for.

FactorWhat the platform doesLimit or cost to plan forWho it tends to suit
SMS verification codeSends a one-time code by textPer-SMS fees apply on paid plansTeams that accept message costs in exchange for familiar delivery
Authenticator app (TOTP)Checks a time-based code from an appAdmins can remove the method, but no end-user reset flow existsTeams that want to avoid per-message costs
Backup codesSingle-use codes saved at enrollmentOnly available beside another enabled methodAny team that needs a recovery route
PasskeyCan satisfy the MFA requirementCannot be enrolled as a dedicated MFA methodTeams that must meet an assurance level with phishing resistance

Backup codes are single-use codes that a user saves at enrollment, and the platform generates them at the end of authenticator app and SMS enrollment. They work as a fallback, not as a primary method, so a team that offers them still needs a primary factor for daily sign-in.

Use the Require multi-factor authentication toggle only when you are ready for every user. With the toggle on, each user gets a pending setup task that must be completed before the account is active. With the toggle off, users can opt in from their account settings, which suits a gentler launch and lets you see how many people enroll before you make it mandatory.

Passkeys need their own decision. A passkey cannot be enrolled as a dedicated MFA method, and it does not switch MFA on for a user by itself. It can, however, satisfy the MFA requirement through the settings in the dashboard, so it belongs in your choice of second factor rather than in a footnote.

In an alert, CISA strongly urges all organizations to implement phishing-resistant MFA.

Test signup and recovery before launch

Run the test with fresh test accounts rather than existing customers, and write down what each step shows so the next person can repeat it. The sequence below covers the paths a real visitor can take.

  1. Create an account through a wallet on the signup form, and confirm the new account appears on the Users page.
  2. If the MFA requirement is on, complete the setup task and save the backup codes shown at enrollment.
  3. Sign out, sign back in with the wallet, and complete the second factor.
  4. Sign in once with a backup code, then confirm that the same code is refused on a second attempt.
  5. Remove the second factor from the Users page as an admin, and confirm what the user sees next and whether it matches your written process.

The recovery test is the one teams skip. Without it, the first lost phone becomes a support ticket that nobody can close, because the platform leaves end-user resets to you. Write the reset process down before launch, including who approves a reset and how the person is verified, so support does not have to improvise under pressure.

A user with an unused backup code can sign in without an admin reset, and the dashboard removes MFA methods one at a time. NIST's implementation guidance on the authenticator lifecycle recommends sending the subscriber a notification when a new authenticator is bound to the account. The table below sets out the recovery cases to write into your process.

Recovery caseWhat the platform doesWhat your team writes down
User has an unused backup codeLets the user sign in without an admin resetTell users to save the codes at enrollment
User lost every second factor and has no backup codeBlocks sign-in until the MFA enrollments are resetWho approves the reset and how the person is verified
Admin removes the last second factorDeletes the backup codes and disables MFAHow the user re-enrolls afterward
User asks for a self-service resetOffers no end-user reset flowYour own verified process, run from your server

Keep the test notes with the release record. When a visitor later reports a locked account, the notes show which path worked during testing and which one did not, and that narrows the search to a single step rather than the whole flow.

Worked example: a team on a paid plan adding wallet sign-in

Take a growth team that already runs its signup on a paid plan and wants wallet sign-in and MFA live before its next campaign. The team keeps its current paid plan, switches on the wallet providers it needs from the wallet page, and enables an authenticator app with backup codes on the Multi-factor page. Because backup codes are single-use and need another method beside them, the team runs a backup-code login in its recovery test before any campaign traffic reaches the form.

Common mistakes to avoid

  • Treating a wallet signature as proof of identity. In the open Sign-In with Ethereum standard, the message names the requesting domain and carries a nonce, which the spec describes as a way to prevent replay attacks. That describes the standard, not what this platform sends. A signed message is proof of wallet control, not proof that the person behind the wallet is who they claim to be.
  • Requiring MFA before the recovery path exists. A required toggle with no written reset process turns the first lost device into a dead end for that customer.
  • Leaving SMS fees out of the decision. SMS can look like the easy default, but per-SMS fees apply on paid plans, so weigh them next to recovery and phishing risk.

Which second factor should you pick?

  • If you want to avoid per-message costs, pick an authenticator app because SMS verification codes carry per-SMS fees on paid plans.
  • If your team cannot run manual resets, pick an authenticator app with backup codes because the platform has no end-user reset flow, so the fallback has to exist before enrollment.
  • If you need phishing resistance, also offer passkeys, which can satisfy the MFA requirement, and test whether wallet users can use them.
  • If you want one rule for every new account, pick the required MFA setting because each user gets a setup task and must finish it before the account is active.
  • If you want a gentler launch, pick the opt-in MFA path because users can enable it from their account settings while you watch support volume.

Frequently asked questions

Do I need a paid plan to use MFA?

Yes, MFA needs a paid plan for production, and development mode lets you test it for free before you commit to billing. Plan the upgrade into your launch checklist rather than discovering it during go-live.

Which wallets can visitors use for wallet sign-in?

Four wallet providers are supported, and you switch on each one from the wallet page. Start with the one or two your visitors already use, since each extra provider adds a path to test.

Does MFA apply to visitors who sign in with a wallet?

Yes, the platform says MFA works for wallet users out of the box, so wallet users can be asked for a second factor the same way email and password users are. Test that path explicitly rather than assuming it behaves like the others.

Do I have to write my own signature check?

No, the platform handles the signing of a message by the visitor's wallet and verifies the signature for you, so your team's work is the choice of providers, the second factor and the recovery process.

What happens if a user loses their second factor?

A user with an unused backup code can sign in with it, and an admin can remove the authenticator app or SMS method from the Users page. Write down who performs that removal and how the person is verified before you require MFA for everyone.

Should I use SMS as the second factor?

SMS is one option, and it carries per-SMS fees on paid plans, so decide on cost and recovery as well as on security. If you keep it, pair it with a backup path.


Sources and check date

Related posts

More posts