Check password settings, inactivity timeouts and retry waits separately; four official sources explain their different roles before a customer's first sign-in.
A first sign-in usually breaks in one of three places. A password gets refused, the session logs someone out in the middle of a form, or a one-time code fails and the screen says to wait. Each comes from a different setting, so the number you quote in an onboarding email has to match the right one. Quote the wrong one and the customer will be told a rule that does not exist in their account.
This post walks through four official sources on password and login timeouts, and each one fits a different branch. One gives a range for a password setting. One gives a guideline threshold for when a timeout warning is not needed. One is a teaching example that happens to contain a number. The fourth shows an example error about a retry wait that people often confuse with a timeout. Start with Step 1, name the problem you are seeing, and follow the branch that matches.
This post is for the person who owns that first sign-in: an onboarding lead, a customer success manager, or whoever writes the note the admin reads before logging in. You can follow the branches without writing code, but you need access to the settings, or a colleague who has it.
Step 1: name the number before you look it up
Before you open any document, write down the exact words the customer used, or copy the exact message they saw. Three kinds of number come up in a first sign-in, and they do not overlap:
- A password rule. The password was refused because it is too short or missing a character type. Go to Step 2.
- An inactivity timeout. The customer was signed out, or the form reset, after sitting idle. Go to Step 3.
- A retry wait. A one-time code was refused and the message says to wait before trying again. Go to Step 5.
The branches matter because the fixes differ. A password rule is a setting in your identity provider or your own code. A timeout is a setting, plus a promise about what the user might lose. A retry wait is a limit on how often a check can run, and it usually sits in a different place from the timeout.
Where do you find the exact words? Start with the screen the customer saw, then the message in the support log, then the configuration your team controls. Screenshots beat memory. If the customer quotes a number from memory, treat it as a lead, not a fact, until you have seen the setting itself.
A useful test is whether the customer can repeat the problem on their own. If they can, you have something to work from. If they cannot, ask for a screenshot or a time of day before you change anything.
A customer can hit more than one of these in a single session, and that is normal. Handle them one at a time, starting with whichever one blocks sign-in.
Keep a short record of each number you confirm, with the setting's name and who confirmed it. When the number changes later, that record tells you which emails and screens to update.
Step 2: check where the password rule came from
Start by asking who chose the rule. If your sign-in provider set it, you may be living with a default that nobody picked on purpose. Firebase's password sign-in guide describes a minimum password length setting that ranges from 6 to 30 characters and defaults to 6. Plan around that range.
- If the customer's policy asks for a minimum inside that range and you use this provider, set the policy number and test it with a new account.
- If the policy asks for a number outside that range, the provider's setting cannot deliver it. Raise that with engineering before you promise it to the customer.
- If nobody can say where the number came from, check whether it is simply the default of 6 before you assume it is the customer's rule.
If the gap is large, you have three options: ask the customer to accept the provider's limit in writing, move the rule into your own application code, or change providers. Each has a cost, and the choice belongs to the people who own the policy, not to onboarding.
Do not borrow numbers from teaching examples. The MDN form validation tutorial includes a sample message saying a password must be between 8 and 30 characters and contain an uppercase letter, a symbol, and a number. That sample is written for one set of data. It is not a rule for your product, so do not paste it into an onboarding email as if it were.
The tutorial's plain reason for having a rule is more useful. When a customer asks why the rule exists, you can answer with its words: forcing our users to enter secure passwords makes it easier to protect their account information. That reason is fair, and it does not depend on any particular number.
Before you change anything, separate the two kinds of password rule. A length rule sets how many characters are needed. A character-type rule asks for an uppercase letter, a symbol, or a number. The sample sentence mixes both, which is why it reads like one rule. In your own config, they may be separate settings, and your customer's policy may ask for only one of them. Write down which one it asks for before you touch anything.
Then test the change the way the customer will meet it. Create a new account with a password that is just under the minimum and one that is just over it. Check that the message on the screen matches the rule you wrote down. A mismatch between the email and the screen is the kind of gap that turns a first sign-in into a support ticket.
Browser-side checks help the customer see the problem early, but the account system has to enforce the rule too. Confirm with your engineers where the rule is enforced, so a customer cannot pass the screen check and then fail at the server. For related settings, see password policy controls.
Step 3: timeouts, check whether the customer can lose work
An inactivity timeout is a different question. Start by checking whether the customer types anything that takes real effort to write back: a long form, a draft, a quote, or a setup wizard. If the answer is no, the timeout is mostly a security setting. Confirm the number with whoever owns your access policy, then tell the customer what it is.
To find the inactivity length, look at the session setting your team controls, then check it against a real form. Time how long you can leave the form idle in a test account before the page resets. If the two numbers differ, investigate the mismatch before telling the customer what to expect.
If the answer is yes and you aim to conform to the W3C timeout criterion, use its guidance on warnings and data preservation. The W3C's Understanding Success Criterion 2.2.6 says users are warned of the duration of any user inactivity that could cause data loss, unless the data is preserved for more than 20 hours when the user does not take any actions. The same page says the best way to conform is to keep the user data for at least 20 hours. Its own illustration makes the idea concrete: "While making a purchase on an e-commerce website, the information input by the user is stored for more than 20 hours." The 20-hour figure describes how long entered information is kept, not how long a session lasts.
That gives you two paths.
Path A: you can keep the data for more than 20 hours. Under the guideline, the data-loss warning is then not needed. Before you commit, go to Step 4, because keeping data is where privacy questions start. When you do keep the data, say so in the product and in the note. Tell the customer what is kept and for how long, in the same words the privacy review approved.
Path B: you cannot keep the data that long. To follow the criterion, warn the user. The guidance asks you to tell users how long their session can be inactive before they may lose information. Put that number in the welcome email and on the screen with the form, not only in the terms of service.
If you go with a warning, the wording matters more than the styling. Say the length of inactivity in plain terms, and say what is at risk, such as the form. Do not hide it in a footer that the customer never opens. The guidance is about users being told, and a warning the user never sees does not do that job.
Also decide what counts as activity. A customer who is reading a long page without clicking may look idle to the product even though they are working. Note that in the customer's note, so the timeout does not come as a surprise.
Do not promise the customer that a session will last until they finish. That is a claim about the product, and only the configuration can back it up. For related session settings, see idle timeout limits.
Step 4: privacy before you keep data longer
Path A has a catch. The guideline notes that privacy regulations may require explicit user consent before user identification has been authenticated and before user data is preserved. It also advises consulting privacy professionals and legal counsel when you consider data preservation as a way to meet the criterion.
So the check comes before the setting. Ask your privacy owner three questions:
- Does keeping this data before the user signs in need consent?
- Does the consent have to be explicit, not implied by the sign-up?
- Does counsel need to review the wording of the notice?
If any answer is yes, or nobody can give you one, get privacy and legal review before you set the preservation period, and add any consent step they require. Only after that does Path A make sense.
Write the consent text in the customer's language, not the lawyer's. A sentence that says what is kept, why, and for how long is easier to approve and easier for the admin to understand on the day they sign in.
Timing is the other question. Consent asked for after the user has signed in is a different situation from consent asked before any identity check. The onboarding flow should show where identification is authenticated and where data is preserved. Draw the flow on one page and mark both points.
If privacy review says the data cannot be kept, use Path B to follow the timeout criterion. That is not a failure. It just means the warning carries the load, and the customer hears about it before they lose work rather than after.
Step 5: retry waits, a rate limit, not a timeout
The last branch is the one people mix up. A one-time code is refused and the screen says to wait. That is a limit on how often a verification attempt can run. It is not the inactivity timeout, and changing the timeout will not change it.
To confirm you have a retry wait, not a timeout, check the timing of the failure. A timeout shows up after a period of no activity. A retry wait shows up right after a code attempt. If the customer was idle for a while before the code step, look at the sequence of events in your logs before you blame the idle setting.
The Supabase auth hooks documentation includes an example error that shows the mechanism clearly: "message": "You can only verify a factor once every 10 seconds." The wording describes a limit on verifications. The clock is tied to attempts, not to the user going quiet, which is exactly why it is a different branch from Step 3.
That example belongs to one product's verification flow, so do not copy its wait into your settings. Look up the retry limit in your own provider's documentation or config. Then tell the customer what the message means: wait the stated period, then try again. Ask them not to request a new code while they wait, so they are not working from an old message.
When the admin calls about it, ask two plain questions. Did a code arrive, and was the most recent one the one they entered? Use those answers alongside the message and logs to investigate the failure.
Before the first sign-in
Once you have worked through the branches, the onboarding note can stay short. Include these three items, and make each one match what the sign-in screen will show:
- The password rule, with the number from your configuration and not from a tutorial.
- How long the session can sit idle before information may be lost, or, if you kept the data for more than 20 hours after privacy review, a note that drafts are kept.
- What a retry wait looks like, and a line saying it is separate from the idle timeout.
The table below shows where each number lives and how to confirm it before it goes into the note.
| Number | Setting that owns it | How to confirm it | Step |
|---|---|---|---|
| Password rule | Sign-in provider default or your application code | Create test accounts just under and just over the minimum | Step 2 |
| Inactivity timeout | Session setting your team controls | Leave a real form idle in a test account and time the reset | Step 3 |
| Retry wait | The provider's verification limit | Compare the failure time with the code attempt in your logs | Step 5 |
If the email and the screen disagree, the screen is what the customer will act on. Fix the email before the customer sees it.
Before the note goes out, have someone from the team that owns the access policy read the password and timeout lines, and have privacy read anything that says data is kept. Those reviews take little time when the branches are clear, and they stop a correction from going to every new customer.
After the first sign-in, check the first week of support contacts about passwords, timeouts, and codes. If the same question shows up twice, check whether the email needs a clearer explanation before expanding the policy document.
These pages get revised, and a quote from an older version may not match the current page. Reopen each link before you copy a number into a customer message, and quote from the page you just opened, not from this post.
Sources
Limits of this post
This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.