Pass the menu and read the page

SignupFolio

3 signup identifiers in an Auth0 database connection

An Auth0 database connection accepts three signup identifiers: email, username, or phone number. The team sets one of these for the form, and the visitor adds a password or a passkey, and the resulting credentials are stored either in the Auth0 user store or in your own database. This guide explains each choice, what it means for the form, and what to settle before launch.

Everyday takeaways

  • Choose the identifier before you design the form, because email, username, and phone number each ask the visitor for a different kind of input.
  • Treat the credential as a separate decision. A password or passkey sits alongside whichever identifier you offer.
  • Auth0 supplies the database infrastructure by default, so its built-in store is the starting point rather than a custom build.
  • Keep credentials in your own database only when you have a clear reason to, since the docs single out the all-in-Auth0 setup for performance.
  • Set your phone number rules early. A strict standard shapes exactly what visitors must type into the field.

Three signup identifiers an Auth0 database connection accepts

Auth0's database connection documentation describes the mechanism in one line: "Auth0 provides database connections to authenticate users with an identifier (email, username, or phone number) and password or passkeys" (Auth0 Database Connections documentation). That sentence sets the menu. A visitor can be identified by an email address, a username, or a phone number, and each identifier is joined to a secret that proves who they are: a password or a passkey.

For a growth team, the identifier is more than a technical detail. It is usually the first field a visitor fills in, so it shapes how quick the form feels and what the visitor believes they are committing to. An email address is familiar to most people and is often the easiest entry for someone who already uses it every day. It also gives you a contact channel for account messages later, which is one reason many teams treat it as the default. A useful test is whether a visitor could type the value without stopping to think. Email passes that test for nearly everyone.

A username asks the visitor to invent something new. It can suit communities where a handle is part of identity, but every new name is one more decision and one more chance to pick something already taken. Offering a username only when your product needs that style of identity keeps the form from forcing it on everyone. If you do offer it, write the availability message in plain words and suggest alternatives, so a clash feels like a small nudge rather than a dead end.

A phone number is the third option. It fits mobile-first products well and ties the account to a device most people carry. It also brings formatting questions that email and usernames do not raise, and those questions get their own section later in this post.

The docs use the phrase "an identifier," singular. The connection is built around one identifier you choose, and the rest of the form follows from that choice. Settling that one decision first keeps the signup flow simple and makes every later field easier to justify. Write the reason for your choice in a sentence and keep it with the design file, so the next person who reviews the form knows why the field is there.

Where signup credentials are kept

The identifier is only half of the record. The password or passkey has to live somewhere, and Auth0's documentation names two places: "These credentials are securely stored in the Auth0 user store or in your own database." The first is the default. Auth0 provides the database infrastructure to store your users by default, so a team that does nothing special gets a working store without building one.

The table below sets the two storage options side by side on the same measures.

MeasureAuth0 user storeYour own database
Where credentials are storedIn the Auth0 user storeIn your own database
Who provides the database infrastructureAuth0, by defaultYour own database setup
Where the authentication data sitsAll data is stored in Auth0Credentials are in your database

The difference is about where the records live, not about which identifier the visitor types. Whichever store you pick, the visitor still signs up with one identifier and a password or passkey. For marketers, this matters because the storage choice is usually made by engineering and security teams, while the identifier and form design are yours to shape. Knowing the split helps you ask the right questions in a planning meeting.

When credentials sit in the Auth0 user store, your team relies on Auth0's infrastructure for the core job of storing users. When they sit in your own database, your team owns that store directly. The documentation does not say whether the storage choice alters the signup form, but the storage choice does change who maintains the data behind every account the form creates.

In that planning meeting, a few questions are worth asking. Who runs the store day to day? What happens to signups if that store is unavailable? Who answers for the records if an audit asks where user data sits? The answers will tell you whether the default is enough or whether your organization needs the alternative. You do not need to be the one who answers them, but you should know they were asked before the form ships.

Auth0-hosted and self-hosted user stores compared

The trade-off between the two stores comes down to performance and control. The same documentation says the all-in-Auth0 setup provides the best performance for the authentication process, because all data is stored in Auth0. When every piece of the authentication path lives in one system, there is no second store for the login process to reach. For a product where a slow login costs you returning visitors, that is a meaningful advantage.

Keeping credentials in your own database gives a different benefit. Your team holds that store directly, which matters when internal policy requires user records to stay in systems you run. The docs confirm this is a supported arrangement, so it is a real option rather than a workaround. Choosing it is a governance decision as much as a technical one.

For a marketing or growth lead, the practical question is whether your organization has a stated reason to keep user records outside Auth0. If it does not, the default store carries the least setup work and the best performance. If it does, you should expect the signup experience to depend on your own systems being available, because those systems hold the account records the form creates. Ask your engineering lead to describe what happens to a new signup during an outage in your own database, and write down the answer. That single note will do more to settle the debate than another round of comparison charts.

The documentation discussed here does not say whether the signup form itself changes with the store. Visitors still choose one identifier and a password or passkey. The store decides where those records sit behind the scenes, so the decision belongs in the same conversation as your data retention and security reviews, not in the form design session.

Which one should you pick?

Pick based on what your organization values more at launch: the fastest authentication path or the ability to keep credentials in systems you run. The two options answer different needs, and the docs give a reason for each.

  • If you want the simplest path and the strongest authentication performance, pick the Auth0 user store, because the docs tie the best authentication performance to keeping all data in Auth0.
  • If your organization already keeps user records in its own systems and requires credentials to stay there, pick your own database, because Auth0 supports storing credentials in your own database.
  • If your product is built around mobile sign-up, pick phone number as the identifier, because Auth0 accepts it as one of the three identifiers, and then set your own phone standard, modeled on the Zendesk example, since the Auth0 documentation does not describe how a database connection validates phone numbers.

Use the first two bullets to decide the store and the last one to decide the identifier. Those are separate calls, and a team can make the first without deciding the second. Our recommendation is to test your identifier choice against conversion during the form review.

If you are stuck, run a short exercise. List the people who will sign up in the first month, note the device they will most likely use, and ask which identifier they would type without hesitation. The answer usually points to a clear choice, and it gives your team a reason to share when someone asks why the form looks the way it does.

Why phone signups need a strict number format

Zendesk's users API states that "the phone number should comply with the E.164 international telephone numbering plan" (Zendesk Developer Docs, Users). Zendesk is a separate product from Auth0, so this is not a rule Auth0 sets. It is a clear example of what a strict phone standard looks like in practice, and it is a useful model for a signup form.

The reason is consistency. People type phone numbers in many styles, with spaces, dashes, brackets, and different separators. If your form accepts any of those without a standard, the same person can end up with more than one record, and your team cannot reliably match a phone number to an account. A single numbering plan gives every number one shape, so the stored value is the same no matter how the visitor typed it.

For marketers, this affects both data quality and the experience of signing up. A strict format protects the record you rely on for messages and account recovery. It also means the form should guide the visitor toward the right shape, with a clear example and a helpful error message, rather than rejecting a reasonable entry with no explanation.

The phone identifier therefore asks for more design work than email or username. You are choosing both a field and a standard the field must meet. Decide that standard before launch, because changing it later means reviewing every number already stored. Write it into the form specification, along with the example text and the error message, so engineering, design, and marketing all work from the same rule.

Country calling codes on phone signups

Once a phone number is the identifier, the country code becomes a separate question. The same Zendesk rule states it directly: "A valid E.164 phone number must include a country calling code." That quote comes from Zendesk, not Auth0, so it does not describe how an Auth0 database connection validates phone numbers. It does show what a strict standard requires, and it is a useful reference when you design your own phone field.

The rule matters for signup because a visitor who types only the local digits has entered something that looks like a phone number but is not a complete E.164 value. A form that accepts that input will store records that are hard to match and hard to use. The fix is to make the country code part of the field, either through a country selector that adds the code automatically or through a clear label and example that shows the visitor what to type.

The table below lists the phone elements this rule covers.

Element of a phone signupRule from the Zendesk docs
Numbering standardStrict E.164 format
Country calling codeRequired in a valid number

For a marketing team, the practical point is that the country code is not optional decoration. If your audience spans several countries, the form has to handle international entries from the start. Test the field before launch with a number that includes the country code, one that does not, and one with spaces and brackets, then note what the form stores. Share the results with engineering, because a surprise at this stage costs far less than a support queue full of failed signups.

Sign-up and sign-in options across platforms

Identity platforms do not all offer the same configuration model. Clerk describes its approach this way: "Clerk provides multiple options for configuring a sign-up and sign-in flow for your application" (Clerk Docs, Sign-up and sign-in options). The phrase "multiple options" tells you the choice is made for each application, through settings, rather than being fixed by a single connection type.

Auth0's database connection works differently. Its documentation describes a defined set of identifiers, email, username, or phone number, each joined to a password or passkey. Zendesk, in turn, is an example of a product that sets a phone format rule in its API. These are three different kinds of documentation, and they answer three different questions: which identifiers exist, how the flow is configured, and what a valid phone value looks like.

The comparison below puts the three side by side.

Platform or sourceWhat its documentation coversWhat it means for your form
Auth0 database connectionEmail, username, or phone number, each with a password or passkeyChoose from a defined set of identifiers
ClerkMultiple options for configuring sign-up and sign-in flowsSettings shape the flow for each application
Zendesk users APIPhone numbers should comply with the E.164 formatStrict rules apply to the phone field

When you compare platforms for a signup project, read each vendor's documentation for the question it answers. A feature list may tell you that a platform supports phone signup, but only the phone format rule tells you what the field must accept. Build your comparison around the specific decisions your form has to make, not around the total number of options a vendor advertises. Put it in a shared document with one row for each decision, such as identifier, credential, storage, and phone format. Fill each row from the vendor's own documentation, and mark any row you could not confirm. A gap on the page is more useful than a confident guess.

Changing identifier options after launch

Many teams worry that the identifier they pick at launch is permanent. Clerk's documentation gives a reassuring answer for its own product: "You can modify your authentication options after your application has been created by navigating to the Clerk Dashboard and selecting any of the options under User & authentication in the left sidenav." In Clerk, the options are adjustable through the dashboard after the application exists.

That quote applies to Clerk, and it should not be read as a promise about Auth0. The Auth0 documentation cited above describes which identifiers the connection accepts, but it does not say whether an existing user base can be moved between identifiers without consequences. Before you change the identifier on a live Auth0 connection, confirm the behavior with the official documentation and your engineering team.

The safer approach is to treat the identifier as a decision with a long life. Even when a platform lets you modify options, existing accounts were created under the old setup. A new identifier does not automatically fix the records already in place, and a phone format change means reviewing numbers that are already stored. For a growth lead, the lesson is to test the signup form with real visitors before launch and to write down why each identifier was chosen, so the reasoning survives any later change.

If a change becomes necessary, plan it as a project rather than a settings toggle. Announce it to customers in advance, decide how existing accounts will sign in, and prepare support answers for the questions you expect. Treat the first week after the change as a monitoring period, watching failed signups and login complaints closely.

Choosing identifiers for your signup form

The choice of identifier should follow your product and your audience, not habit. The Auth0 database connection gives you three options, and each one asks the visitor for a different kind of input. As noted above, the Auth0 documentation sets the menu, and that menu is the starting point for every choice in this section.

The figures below come from that same description of the connection.

Auth0 database connection factFigure from the docs
Identifiers offered3 (email, username, phone number)
Credential types paired with each identifier2 (password or passkeys)
Credential stores2 (Auth0 user store, your own database)

Use these facts to narrow the decision. Pick email if your product needs a reliable contact channel that most visitors already use. Pick a username only if the handle is part of how your community identifies itself, since every new name adds a decision and a chance of a clash. Pick phone number if your product is built around mobile use and you are ready to enforce a strict format, including the country code.

Make the identifier decision before you design the rest of the form. Once it is set, the password or passkey step follows from it, while the storage choice is decided separately. Write the reason for your choice in one sentence, and check it against the form the visitor will actually see. Then walk through the form yourself on a phone and on a laptop. Fill it in as a first-time visitor would, with no prior knowledge of the product. Note every moment you hesitate, because those hesitations point to the copy and field changes that will matter most after launch.

What the phone rules mean for conversion

A strict phone standard protects your data, but it can also cost you signups if the form is unclear. Zendesk's docs set a strict standard for phone values, and the same docs add a second rule about country codes. Those two rules offer a model for what a strict field would have to accept, and the form has to make that clear before the visitor gets stuck.

The figures from these rules are small, but they shape the form. The table below lists them.

Phone ruleFigure from the docs
Numbering plans named1 (E.164)
Country calling codeRequired in a valid number

Conversion problems usually come from friction, not from rules. A visitor who does not know to add a country code may abandon the field instead of reading an error message. You can reduce that risk by showing a sample input, using a country selector, and writing error messages that name the missing part. The strictness of the standard stays the same, but the visitor sees a clear path to a valid entry. Good error copy has a simple pattern: say what is wrong, show a correct example, and say what to do next. A message that reads "Add the country code at the start, then try again" does far more than "Invalid number." Read every error message aloud before launch, since the ones that sound unhelpful usually are.

Measure the result, not the rule. Track where visitors drop off on the phone field, compare it with email and username signups, and adjust the labels and help text before you consider changing the standard itself.

Reader questions

Which identifiers does an Auth0 database connection accept? Email, username, or phone number. The connection pairs whichever one you choose with a password or a passkey, as the Auth0 docs describe.

Where are the signup credentials kept? Either in Auth0's own store or in a database you run. Auth0 also provides the database infrastructure by default, so the built-in option needs no custom build.

Does the E.164 phone standard come from Auth0? No. The rule comes from Zendesk's users API, which asks for phone numbers that follow the E.164 standard. Use it as a model for your own phone field.

Does a phone number need a country code? Under the Zendesk rule, yes. A valid E.164 number needs a country calling code, so design the form so visitors can enter it without guessing.

Can I change my sign-up options after launch? In Clerk, yes, through the Clerk Dashboard, under User & authentication in the left sidenav. Confirm how Auth0 handles changes before you make one.

Does the storage choice change what the visitor sees? Not in the documentation discussed here. Whichever store holds the credentials, the visitor still signs up with one identifier and a password or passkey. The storage decision belongs with your engineering and security teams.

Sources and check date

Related posts

More posts