Skip to content
BuildBase

Choose who can sign up

Open sign-up to anyone, make it invite-only, let in only the addresses you list, run a waitlist you approve, refuse throwaway inboxes, and ask for an age.

By default anyone who reaches your sign-in page can create an account. That is right for most apps, until it is not: a private beta, a tool for your own customers only, or a run of fake trial accounts. These settings decide who may create an account. They never stop someone who already has one from signing in. They apply to every way of signing up at once: the sign-up form, email codes, Google and the other providers, phone, wallets and guests.

Before you start

  • A console role that can change the organization's settings and the auth configuration.
  • For a waitlist: a role that can manage Beta users.
  • Nothing else: none of this is tied to a plan.
You wantSet
Anyone can sign upAllow public sign-up on, mode Anyone (the default)
Only people you invite to a workspaceAllow public sign-up off
Only your company and a few partnersMode Allowlist only, with their addresses and domains
Everyone except some addresses or domainsMode Anyone, with the Blocklist
A queue you let people out of one by oneMode Waitlist, then approve on Beta users
No throwaway inboxesRefuse disposable email addresses at sign-up, on Security
Only people old enough for your appAsk for age at sign-up, on the Age check card

Open or invite-only

Open the Sign-up tab in the console

(opens the console in a new tab)
  1. In the console's left rail, choose Users, then Authentication under Access, and open the Sign-up tab.
  2. The Sign-up card has one switch, Allow public sign-up. It saves as soon as you flip it.

The Sign-up card on the Sign-up tab: Allow public sign-up switched on, with what on and off mean, and a line saying the change applies straight away and that an invitation link still lets the invited person create their account

Off makes sign-up invite-only, not shut:

  • The Create account page tells visitors that sign-up is by invitation.
  • A first sign-in with Google or another provider cannot make an account either.
  • Continue as guest stops working.
  • Someone you invite to a workspace can still create an account, by opening the link in their invitation email, with the address it was sent to.
  • Everyone who already has an account signs in as before.

The Create account page while public sign-up is off: "Sign-up is invite-only" with a help mark beside it, "New accounts here are by invitation. If you were invited, open the link in your invitation email to create your account", and Already have an account? with a Sign in button

An allowlist and a blocklist

The Who may sign up card, under the Sign-up card, holds a mode and two lists.

  1. Under Mode, choose Allowlist only.
  2. In Allowlist, type one entry per line: a whole address, such as [email protected], or a domain with @ in front, such as @acme.example, which lets in everyone with an address there and at its subdomains.
  3. In Blocklist, type any addresses or domains that may never sign up, such as @rival.example.
  4. Press Save at the top of the card.

The Who may sign up card with Allowlist only chosen (step 1), and Save (step 4). The Allowlist (step 2) holds @acme.example, Maria.Garcia@Partner.example and northwind.example, with a line saying how they will be saved (northwind.example becomes @northwind.example, capitals become small letters), and the Blocklist (step 3) holds @rival.example

Under each list, the card counts the entries and shows how it will save them before you save: a domain typed without @ gets one, and capitals become small letters. Anything that is neither an address nor a domain is named in red, and Save waits until it is fixed. Each list holds up to 1,000 entries. For more, list domains rather than people.

The three modes:

ModeWho may sign up
AnyoneEveryone except the blocklist. The default
Allowlist onlyOnly the addresses and domains on the allowlist
WaitlistPeople whose waitlist request you approved, and the allowlist

How a sign-up is decided, in this order:

  1. The blocklist refuses, even someone with a workspace invitation.
  2. A workspace invitation to that address lets the person in, whatever the mode.
  3. Allow public sign-up off refuses everyone else.
  4. The mode decides the rest.

The lists are private: they are never sent to your sign-in page, and an address on the blocklist and one missing from the allowlist get the same sentence, so nobody can find out what is on them by trying addresses.

Create account refused for chris.doe@example.org, which is not on the allowlist: "Sign-up isn't available for this address." under the Email box. The same sentence is shown for an address on the blocklist

A waitlist

A waitlist lets anyone ask to join, and you choose who gets in.

  1. On the Sign-up tab, in Who may sign up, choose Waitlist.
  2. Optionally, put your own team on the Allowlist, so they go straight in.
  3. Press Save. Choosing Waitlist turns the waitlist page on, and leaving it turns the page off.

Mode set to Waitlist, highlighted as step 1: your sign-up page leads with joining the waitlist, only people you approve may sign up and allowlisted addresses go straight in. Under it, a note that waitlist mode turns on the waitlist page, with a link to the Beta users page where approving an entry lets that address sign up. Save is highlighted as step 3

What visitors see

The Create account page now leads with the waitlist, and keeps the form for people already approved.

The Create account page in waitlist mode: "Sign-up is by waitlist. If your address has been approved, create your account below. If not, join the waitlist first", with a Join the waitlist link above the usual form

Join the waitlist asks for a name and an email address.

Join the Acme waitlist: a name, Taylor Kim, and an email, taylor.kim@northwind-labs.example, with the Join the waitlist button and a help mark beside it

After joining: "You are on the list", with what happens next written out under it: the team behind the app reviews the list, and how to find out whether the address was approved

Setting up the Beta users page

Open Beta users in the console (opens the console in a new tab)
  1. In the left rail, choose Users, then Beta users under Users. The badge at the top says where it stands: Activated, Waitlist on, emails off or Inactive.

The Beta users page with its status badge, Inactive, highlighted as step 1, beside Manage emails, Manage page config and Enable beta users, and the counts and signups below

  1. Press Enable beta users, then Enable beta access. Your hosted sign-in page then shows the waitlist page, and the waitlist emails you turned on are sent. It does not decide who may sign up: only the Waitlist mode above holds new accounts until you approve them.

The dialog Enable beta users: the waitlist page shows and the waitlist emails you turned on are sent, but only the Waitlist mode decides who may sign up, with the Enable beta access button highlighted as step 2

  1. Press Manage page config for the waitlist page's logo (Change logo), its App name, and the Privacy policy and Terms of service links in the line people agree to when they join. A link left empty uses the matching one from your sign-in page; with neither, the line leaves it out. The page's words are edited with the rest of the sign-in page's, on the Branding page. Press Save config.

The Manage beta page configs sheet: Change logo, App name, the Privacy policy and Terms of service links, and Waitlist page words, with the Save config button highlighted as step 3

  1. Press Manage emails. Each email goes out at one step: When a user is registered (they joined the waitlist), When a user is approved and When a user is rejected. Switch each one on and press Choose template. An email is sent only while its switch is on, a template is chosen and beta users is turned on. A template can greet them with {{name}} and say where they stand with {{status}}.

The Manage emails for beta users sheet: When a user is registered, When a user is approved, highlighted as step 4, and When a user is rejected, each with its switch and Choose template

Approving people from Beta users

  1. In the left rail, choose Users, then Beta users under Users.
  2. Each request waits in the Beta users list with Approve and Reject.

The Beta users list in the console: Taylor Kim, taylor.kim@northwind-labs.example, Pending, with the Approve button highlighted as step 2 beside Reject

  1. Press Approve, then Approve again in the dialog.

The Approve beta user dialog: approving lets this address sign up while the mode is Waitlist, and no email is sent while the When a user is approved email is off or has no template, under Manage emails. Cancel, and Approve highlighted as step 3

Approving does not email the person by itself. To tell them, turn on When a user is approved under Manage emails on the Beta users page and give it a template. Once that email is on, the waitlist page says that people will be emailed if their request is approved, and not before. Rejecting keeps the address from signing up while the mode is Waitlist. An account it already has is not affected.

Once approved, the person signs up with any method your app offers, and goes straight through:

Taylor Kim, now approved, creates an account with taylor.kim@northwind-labs.example: the page goes straight on to Verify your email, with the 6-digit code box

The waitlist page answers everyone who joins the same way, whether their address is new, waiting, approved or turned down, so nobody can read your list by trying addresses. To find out whether they are in, people try to create their account: once approved, sign-up lets them in.

Refuse throwaway addresses

Throwaway inboxes, from sites such as mailinator.com, last minutes or hours. They let one person make a stack of trial accounts. BuildBase keeps a list of known throwaway-mail sites, and an address at any of their subdomains counts too.

  1. Open the Security tab and find the Disposable email addresses card.
  2. Switch on Refuse disposable email addresses at sign-up.
  3. Press Save.

The Disposable email addresses card on the Security tab with Refuse disposable email addresses at sign-up switched on as step 2, and Save as step 3: it is checked against a list of known disposable email providers, for every way of signing up and email changes, never for an existing account signing in or someone invited to a workspace

It applies to new accounts and to someone changing their account's email address. It never applies to signing in, so turning it on locks nobody out. The trade-off: fewer fake accounts, but a few real people who guard their privacy need another address.

This is the one setting for throwaway addresses. It used to have a twin on the Sign-up tab, Block throwaway email addresses; if you had turned that on, sign-ups are still refused, and this card shows the switch on with a note until you save it once. Someone invited to a workspace is never refused.

Create account refused for an address at mailinator.com, a throwaway inbox service: "Please use a permanent email address."

An age check

If your app is directed at children, or must keep them out, you can ask everyone who creates an account how old they are, and refuse anyone under the age you set. It is off until you turn it on.

  1. On the Sign-up tab, find the Age check card.
  2. Switch on Ask for age at sign-up.
  3. Choose the Minimum age, from 13 to 21.
  4. Choose How to ask:
    • Ask them to confirm their age: people choose "I am 16 or older" or "I am under 16". The question names your minimum.
    • Ask for their date of birth: a day, a month and a year, checked on the server against your minimum, which the page never shows. The date is not stored or logged; only whether it passed is kept.
  5. Press Save.

The Age check card on the Sign-up tab: Ask for age at sign-up switched on and highlighted as step 2, Minimum age 13, How to ask with Ask them to confirm their age chosen and Ask for their date of birth, and the Save button highlighted

The Create account page then asks the question before it shows any way to sign up, and so do the last step of a phone or wallet sign-up and Continue as guest.

Create your Acme account with the age check on, at a minimum of 16: How old are you?, with I am 16 or older highlighted and I am under 16, and Continue

The answer is checked again on the server before every new account: the sign-up form, an email code, a phone or a wallet, Google and the other providers, One Tap and a guest. A first sign-in with a provider from the sign-in page, without the question, makes no account and says to answer it on the sign-up page.

Someone under the minimum sees "Sorry, you can't create an account here." It does not say the age or invite them to try again, and the same browser is refused again for the rest of its session if they go back and change the answer.

People who already have an account

With the check on, someone who has an account but no pass on record is asked the same question the next time they sign in, before the sign-in finishes. That covers accounts made before you turned the check on, accounts made in ways that do not ask (such as importing users or adding them from the console), and people who passed a lower minimum than the one you set now. It comes after their password and any two-step sign-in, whichever way they sign in: a password, an email code or link, Google and the other providers, One Tap, a passkey, a phone code or a wallet.

  • They pass: the sign-in finishes, and they are not asked again unless you raise the minimum above the one they passed.
  • They are under the minimum: the sign-in stops with "Sorry, you can't sign in here." It does not say the age or invite them to try again, and no session is made. The refusal is kept on their account, so every later sign-in is refused at once without asking, for as long as your minimum stays at or above the one they were refused at. Every session they already had ends with the refusal, in your app and for any agent they connected, so they are signed out everywhere, not only on this sign-in.

A refusal means "under" the minimum it was given at. Raise the minimum and it still holds. Lower the minimum below it, and the person is asked again at their next sign-in, and their new answer replaces the old one.

Every account made through the check keeps its pass from the start, guests included, so it is never asked again at the same minimum. Only whether they passed, the minimum and when are kept on the account, never the answer or a date of birth.

The user's page in the console shows it under Age check: passed at a minimum on a date, refused on a date, or not asked.

The User details card on a person's page: Priya Shah, her language, country, currency and timezone, and the Age check row, highlighted, reading Not asked When your minimum has moved past the answer (a refusal you have since lowered the minimum below, or a pass under a minimum you have since raised), it shows the answer as it is and says they are asked again at their next sign-in. If someone was refused by mistake, an owner or admin can open More and choose Clear age answer: the answer comes off their account and they are asked again at their next sign-in. The change is in the sign-in audit log.

Attach it to your app

There is nothing to tick. These settings belong to your organization and apply to every app's sign-in page at once.

Check the preview

The Preview on the Branding page draws the usual Sign up form whatever these settings are. Press Open the live page for Acme Analytics and choose Create account to see the invite-only notice or the waitlist on the real page.

In your app (SDK)

There is no screen for this in your app. Two things to know:

  • An invitation reaches the hosted pages through the SDK from release 0.0.75. With an older SDK, an invited person meets the invite-only notice instead of the form, so upgrade before you switch off Allow public sign-up.
  • If you build your own sign-up form, a refusal carries a reason of signup_restricted or waitlist_required, as in the table below. See Who can sign up.

Check it works

  • With Allow public sign-up off, Create account says sign-up is invite-only.
  • With Allowlist only, an address on the list can sign up and one off it is refused.
  • With Waitlist, joining puts a request on Beta users, and approving it lets that address sign up.
  • With throwaway addresses refused, a mailinator.com address is turned away.
  • With the age check on, Create account asks the question first, an answer under the minimum is refused, and going back to answer again shows the refusal.
  • With the age check on, an account made before it is asked at its next sign-in, and the user's page shows the answer under Age check.
  • An account made before the other settings still signs in.

Things to watch out for

  • The blocklist beats an invitation. An address on the blocklist cannot sign up even from a workspace invitation.
  • These rules stop new accounts only. Blocking a domain does not sign anyone out or stop someone who already has an account there. Block those people under Users.
  • Invitations need SDK 0.0.75 or later. With an older SDK, an invited person meets the invite-only notice once you switch off Allow public sign-up.
  • A domain covers its subdomains. @acme.example on a list also covers @mail.acme.example, on the allowlist and the blocklist alike.
  • Apple's hidden addresses match no domain you list. Someone who hides their address with Sign in with Apple arrives as an address at privaterelay.appleid.com, which your allowlist domains never match.
  • Approving someone on the waitlist sends no email by itself. Turn on When a user is approved under Manage emails on the Beta users page, or tell them yourself.
  • The throwaway-address check knows only the sites on its list. Treat it as one layer beside bot protection, not a guarantee.
  • The age check needs the hosted page. The answer is given there, for that sign-in. A sign-up form of your own that calls the API directly is refused while the check is on, and so is a sign-in to an account with no pass on record.
  • A refusal on an account holds while your minimum is at or above the one it was given at. Raising the minimum keeps it. Lowering the minimum below it, or clearing it from the console, has the person asked again at their next sign-in. Turning the check off lets everyone sign in again, and turning it back on at the same minimum refuses the same people.
  • The age check takes people at their word. It asks; it does not verify. Whether your app needs one, and which minimum, depends on the laws that apply to it.
  • Guests made before the age check keep using your app as guests, but to keep an account they sign up from the sign-up page. The same goes after you raise the minimum.
  • The age check does not ask people a company brings in. Accounts made by enterprise single sign-on or Directory Sync are vouched for by that company, and are not asked when they are made or when they sign in with single sign-on. This is by design. Accounts you import or add from the console are asked at their first sign-in on the hosted page.

If something goes wrong

What the person seesWhyWhat to do
"Sign-up is invite-only"Allow public sign-up is offInvite them to a workspace, or switch it back on
"Sign-up isn't available for this address."The address is on the blocklist, or not on the allowlistAdd it to the allowlist, or take it off the blocklist
"Join the waitlist, and you can sign up once you're approved."Waitlist mode, and the address is not approvedApprove it on Beta users
An approved person is still refusedAllow public sign-up is off, which lets in only invitations; the card warns of itSwitch Allow public sign-up on
"Please use a permanent email address."The address is at a throwaway-mail siteThey sign up with another address, or you switch the setting off
"This app is not taking new sign-ups right now."Your plan's limit on users is reachedRaise the limit with your plan
Continue as guest is goneGuests need Allow public sign-up on and mode AnyoneSee Continue as guest
"Sorry, you can't create an account here."The age check refused the answer givenNothing: the refusal is the check working
"Sorry, you can't sign in here."The age check refused an account that already exists, now or at an earlier sign-inNothing, or Clear age answer on their page if it was a mistake
"Before you create an account, answer the age question on the sign-up page."A new account from the sign-in page, a guest from before the age check, or your own formStart from Create account

Next steps