Why a new account's first session needs its own check
A new account's first session is where your settings meet a real person for the first time. The timeout values you chose during setup, or inherited from a copied settings set, decide how long someone stays signed in and when they are asked to sign in again. Growth leads and product marketers often do not own those values, yet they shape the first impression. A session that ends sooner than the user expects can look like a broken product. A session that lasts longer than it should can leave an account open on a shared computer. Neither problem usually appears in a dashboard until someone reports it, which is why the first session is the right moment to compare your settings against published references.
Measure the first session on its own terms. A returning user has already learned the sign-in screen and may have a session that started days ago. A new account has none of that context. A setting that feels harmless to an experienced admin can be confusing to someone who has never seen the flow before, so the check should follow the path a brand-new user takes, not the path your team takes every day.
Not every product needs the same level of control. The Supabase documentation on user sessions draws the line in one sentence: "Some security sensitive applications, or those that need to be SOC 2, HIPAA, PCI-DSS or ISO27000 compliant will require some sort of additional session controls to enforce timeouts or provide additional security guarantees." Read plainly, a product that handles sensitive data, or that must meet one of the frameworks named there, should expect more than a default timeout. The sentence does not list the controls it means, so for a product in that group the next step is to ask whoever owns the obligation what they require. Do not pick a number from this article and call it compliant.
For a product outside that group, the same sentence does not name extra controls for it, and you still have to choose values. The rest of this post gives you two published times to measure them against. The first is a one-hour guideline for session values. The second is a 10-minute limit on completing sign-in. They measure different things, so keep them apart while you work.
How to match the one-hour figure to your own setting
The first time is one hour. The sessions page says: "Setting a value over 1 hour is generally discouraged for security reasons, but it may make sense in certain situations." Two parts of that sentence matter. "Generally discouraged" makes it a guideline with a stated exception, not a hard cap. "Certain situations" means the page says a value over 1 hour may make sense, so a longer value is presented as a possible case rather than a rule.
The excerpt does not name the setting it measures. It says "a value," and nothing in the sentence tells you whether that is a session lifetime, an idle timeout, or something else. Before you compare anything, open the section of the sessions page that holds this sentence, read its heading and the paragraphs around it, and then find the matching field in your own configuration. If you compare the one-hour line to the wrong field, the result says nothing about your account.
Once you have the right field, the check is short. Write the configured value in minutes, converting from hours or seconds first, so that every value is compared in the same unit. A value of one hour or less is within the guideline. A value above one hour is one the page says is generally discouraged, so this post recommends writing down the situation that supports it, tied to how your product is used. "We have always had it that way" is not a reason. A reason might be that the product runs only on managed company devices, or that users must re-enter sensitive information after a long gap. Whatever the reason, write it down with the date and the owner who approved it.
Longer values have a real benefit, which is why the guideline is not absolute. A longer session means fewer interruptions for someone in the middle of a task and fewer sign-in screens for someone who comes back often. A shorter session means less time for an unattended device to be used by someone else. The one-hour line marks where the page calls longer values generally discouraged, not where your product must stop.
Check production and staging separately. A test account may pick up a different value from the live project, and a first-session problem found in staging tells you little if production is configured differently. Note the date you read the page as well, because documentation is revised, and an excerpt that is accurate today may be worded differently later.
The two times side by side
The table sets out the three references you will check against. The first two rows are the times. Each row gives the published wording and the question to ask of your own first-session setup.
| Reference | What the source says | What to check on your setup |
|---|---|---|
| One-hour session value | Setting a value over 1 hour is generally discouraged for security reasons | Is the configured value one hour or less, or does it have a written reason? |
| 10-minute authentication window | The authentication SHALL be considered invalid unless completed within 10 minutes | Can a first sign-in finish within 10 minutes, counting every step? |
| Compliance-bound product | Applications that need to be SOC 2, HIPAA, PCI-DSS or ISO27000 compliant will require some sort of additional session controls | Is the product covered by one of those frameworks? |
Read the rows as separate questions. A setup can pass the one-hour check and still fail the 10-minute check, because the one-hour value applies to whichever session field you matched in your own configuration, while the other measures how long a sign-in may take. The third row is not a time, but it decides how to treat the first two. For a product in that row, the source expects additional controls, so the times are a starting point for that conversation and not the whole answer. For other products they are reference points you can weigh against your own use.
The 10-minute authentication window
The second time comes from a different source. In its guidance on authenticators, NIST states: "In all cases, the authentication SHALL be considered invalid unless completed within 10 minutes."
This is a limit on completing authentication, not on how long a signed-in session stays alive. The excerpt does not say exactly where the clock starts or ends for every flow, so decide that explicitly and write it down before you measure. Pick a starting point, such as the first sign-in screen the user sees, and an end point, such as the moment they land on the signed-in page.
Measure it with a fresh account, not a test account that is already signed in on that device. Use a phone or browser that has never used the product, because saved passwords and remembered devices make the flow faster than a real new user's. Start a stopwatch at the first sign-in step and stop it when the account is fully signed in. Include every wait: a code to arrive, an email to open, a password manager prompt, a switch to a second device. Write each step with its own time.
Repeat the run several times. One fast run can hide a slow one, especially when a code arrives late. If the slowest run stays under 10 minutes with room to spare, you have evidence the flow fits. If any run crosses 10 minutes, the flow is at risk, whatever the average looks like.
Waits the user controls are harder to judge. The quote does not say whether time spent opening an email counts the same as a delay in your system. Record those waits separately from system delays, and agree with the owner of your sign-in policy how each kind counts before you act on the result.
If the flow fails the check, the fix is usually in the flow rather than in the value. Look first at the steps that send the user away from the sign-in screen to find a code or open a message, and ask whether that confirmation can happen on the same screen. Fewer hand-offs mean fewer places for the clock to run out, and they make your timing records easier to repeat.
Changing a value without breaking first sign-ins
Once you know which values need attention, the next question is how to change them without causing new problems. The sessions page addresses this directly: "This allows you to tweak the values or roll back changes without causing unintended user friction." The sentence does not say which mechanism it refers to, so read the paragraph before it on the page before you apply the idea to your setup. The general point holds anyway. A change you can undo is less risky for a first sign-in than one you cannot.
Change one value at a time. If sign-in breaks after two changes at once, you cannot tell which one caused it. Record the old value before you touch anything, so the rollback is a fact in writing rather than a memory. Run the first-sign-in walkthrough from the previous section after each change, not only at the end, because the step that breaks is often not the step you edited.
Test on a copy of the first-session flow before you touch the live one. If your provider offers a staging environment, make the change there, create a new account, and time the first sign-in. Compare the result with the live configuration as it actually is, not with what you remember it to be. Then apply the same change to production at a quiet time, with someone watching the sign-in path.
Keep the first-session change separate from other releases if you can. When a sign-in change ships alongside a new onboarding screen, a drop in completed sign-ins has two possible causes, and the team will spend the week arguing about which one it was. A separate change gives you a clean before and after to compare.
Write down the rollback before you start: who can revert the value, where the old value is recorded, and how long the revert takes to reach users. If you cannot describe the rollback in those terms, you are not ready to make the change.
How to check your own first-session setting
Run this check in one sitting, with the settings screen and a test device open side by side.
- List every setting that touches the first session. Include every setting you find that affects the first session, such as any session lifetime or idle timeout your dashboard shows. Use the names your dashboard shows, not the names in this article.
- Convert each value to minutes and record it beside the setting name and the environment, staging or production.
- Match each setting to the section of the sessions page that describes it. Mark any setting you cannot match, because you cannot compare a value you cannot identify.
- Time a first sign-in as a new user, using the method from the 10-minute section.
- Decide whether the product falls in the compliance-bound row, and name the owner who would answer for that decision.
- Write one record for each environment with the fields below, and set a date to check it again. Settings drift when a settings set is copied or when someone edits a value during an unrelated fix.
A record can be a plain document with these fields:
- Setting name and environment
- Configured value in minutes
- Matching section of the sessions page
- Measured first sign-in time, with the slowest run and any user-controlled waits noted separately
- Compliance-bound: yes or no, with the owner who decided
- Decision, the reason if the value is above one hour, and the date of the check
Who signs off on the numbers
Growth leads usually notice the symptoms before anyone checks the settings. New users drop off at sign-in, support tickets mention being logged out mid-task, or a shared device reveals an account that was still open. Those symptoms are a good reason to start, but they are a weak request to hand to engineering on their own. Bring the measured values instead: the setting name, the configured value in minutes, the matching section of the sessions page, and the slowest first sign-in you timed. A specific setting and a measured time give an engineer something to check. A general request to make sessions safer does not.
Three roles usually need to agree. The engineer who owns the configuration can confirm the value and the rollback path. The product owner decides how much friction the first session can carry, and the one-hour guideline is a reference point for that trade-off, not the decision itself. The compliance owner, if the product falls in the compliance-bound row, decides which controls are required and what evidence must be kept. One person may hold two of these roles, but the record should still show each decision separately.
Keep each sign-off in the same record as the measurements. A sign-off that lives in a chat thread is hard to find when the setting is next reviewed, and a setting nobody can trace tends to drift. Tie each review to an event that could change the numbers: a settings set being copied, a provider changing its defaults, or someone editing a value during an unrelated fix. That keeps the first-session numbers under review whenever something that could move them is touched.
Working out the decision for your account
Now put the pieces together. The decision for each setting follows from the checks you have already made, and it is worth writing down the logic so that the next person can follow it.
If the product sits outside the compliance-bound row and the configured value is one hour or less, the one-hour guideline does not flag it. Keep the value, record when you checked it, and move on to the authentication check. A value that passes is not a permanent approval, because the settings around it may change later.
If the value is over one hour, the page says it is generally discouraged. Either lower it, or write the situation that justifies the higher value and have the owner sign it. Do not leave it unexplained. An unexplained value looks like a default nobody chose, and it is the first thing a new team member or an auditor will question.
If the product is in the compliance-bound row, the page says extra session controls will be required. The one-hour line becomes the starting point of a conversation, not the answer to it. Ask the owner of that obligation which controls they need, what evidence they expect you to keep, and how often they expect the settings to be reviewed. The quotes in this article do not list those controls, so do not infer them from a timeout value.
For the sign-in flow, check the slowest recorded run. If every step you control fits inside 10 minutes, the flow sits inside the 10-minute limit from NIST SP 800-63B guidance, which applies only where your authentication is governed by that guidance; treat it as a reference point otherwise. If any step you control can push a run past 10 minutes, that wording treats the authentication as invalid, so shorten the step or redesign the flow so the user is not asked to leave and come back. Waits the user controls need the owner's decision, as noted above.
Every change on this list goes through the rollback record from the earlier section. A value without a rollback path is a value you cannot safely revisit.