A customer's one-time login code needs three setup requirements: one time-step used on both sides, a unique secret for each customer, and HOTP-based design. Those three choices decide whether codes arrive when customers expect them.
Key takeaways
- Same time-step value: The prover and verifier must use the same time-step value; confirm your platform's configured step with the customer's IT contact before enabling codes.
- Unique secret for each customer: Each customer account needs its own secret key, never shared or reused across accounts or environments.
- HOTP-based platform: The algorithm must use HOTP as a building block.
- Clock sync: Ask the customer's IT team to confirm time sync on their devices so codes land in the right window.
- Log the setting: Add "time-step value confirmed" to your kickoff checklist so the setting is on record for future support tickets.
One-time login codes are the moment a new customer trusts you with their account. During kickoff you set them up, and you own how well they work. Get three requirements right and sign-in is smooth.
This post covers exactly three requirements. Each one traces back to the technical specification behind time-based one-time passwords. You do not need to memorize that spec. You do need to set three things correctly before the customer ever types a code.
Who this is for: customer success managers configuring a customer's first sign-in with one-time codes during onboarding.
What a one-time login code actually is
A time-based one-time password is an extension of the One-Time Password idea. The RFC Editor's RFC 6238 says it plainly: the document "describes an extension of the One-Time Password (OTP)". Instead of counting events, it counts time.
Here is what that means at your desk. Your server and the customer's device both hold a shared secret. Both run the same clock logic. At any moment, both can compute the same short code without talking to each other. The code changes on a schedule. The old one expires, a new one appears.
One property matters more than any other during setup. An OTP generated within the same time step will be the same. Both sides must agree on where those steps begin and how long each one lasts. If they disagree, the customer types a correct-looking code and gets rejected. That is requirement one.
There is a second path worth knowing about before we go further. Apple's Passkeys Overview explains that passkeys replace passwords with cryptographic key pairs, built on FIDO Alliance and W3C standards. Passkeys are a different sign-in model from text codes. During kickoff you may be choosing between them, or setting up codes as a fallback. The three requirements below apply whenever you land on one-time codes.
Requirement 1: Agree on one time-step value on both sides
Your first requirement is simple to state. Pick one time-step length for the whole system, and make sure the prover and verifier use it.
The spec's own rule is strict: the prover and verifier MUST use the same time-step value X. The code is generated on the customer's device and checked on your server. Same X on both sides or nothing works.
What you set during kickoff: Confirm your platform's configured time-step with the customer's IT contact before you enable codes. Write it down in the kickoff notes. If the customer's team runs a separate authenticator app, that app must be set to the same step length. Check this before the first login attempt, not after. For a wider set of pre-kickoff checks, see Customer login verification: 6 checks before kickoff.
Why does this feel like a small setting with big consequences? The RFC Editor explains that the time-step size has an impact on both security and usability. It is the dial you turn between "code stays valid long enough to type" and "attacker has a wide window to guess."
Two forces pull in opposite directions. A larger time-step size exposes a larger window to attack. But a step that is too short means the code dies while your customer is still typing it. Travel delays and a customer fumbling a password manager both push toward a longer step.
Practical guidance for a customer success manager:
- Match the default first. Check your platform's documented default step length before changing it. Do not change it casually mid-kickoff.
- Check both ends. If the customer uses an authenticator app, verify the app's period setting matches yours.
- Watch for clock drift. If a device's clock runs off, its idea of "now" shifts, and codes land in the wrong window. Ask the customer's IT team to confirm time sync on their devices.
How you verify: Run two test logins in a row. A repeated code may be rejected by the platform, so a second failure alone does not prove a step mismatch. Compare the configured step and the device clock before you hand the account over.
Requirement 2: Give every customer account its own secret
Your second requirement: each customer gets their own secret key. No sharing, no reuse across accounts.
The rule in the spec is unambiguous. There MUST be a unique secret (key) for each prover. Each device that generates codes needs its own secret, and no secret is shared across customer accounts.
Here is why this matters on your kickoff call. If two customers share a secret, they generate the same codes. An attacker who sees one customer's valid code can sign in as the other. Unique secrets isolate every customer's risk to their own account.
What you set during kickoff:
- One secret for each customer account. Confirm your platform generates a secret automatically, and that no bulk-import path creates duplicates.
- Never reuse a secret across environments. A staging or test account must have its own secret. A shared staging secret leaks into production the moment someone copies settings.
- Regenerate on staff turnover. If a customer's team member who held the secret leaves, rotate the secret. The old codes stop working; new codes start fresh.
- Store secrets in your vault, not in tickets. Never paste a secret into a support email or a shared doc during kickoff.
Same time step, same secret, and same algorithm produce the same code, which is why uniqueness does all the isolation work.
Where teams slip: During a bulk onboarding, someone imports a CSV of customers and a single shared key gets stamped on every row. Everything looks fine in testing with one account. The first day with real customers, codes collide, and support drowns. Ask your platform team, during kickoff prep, how secrets are generated on bulk import. Get the answer in writing.
Ask about secret length: Your platform's required secret length should come from your security or platform team. Confirm it before you finalize the setup.
Requirement 3: Build on HOTP, the shared foundation
Your third requirement is about what sits underneath the code. The spec's rule reads: the algorithm MUST use HOTP as a key building block.
Why should a customer success manager care about internals? Because it tells you what your platform must support. If someone proposes a homegrown code scheme that is not HOTP-based, it does not meet this requirement, so question it before you commit.
Here is how the three pieces fit together:
| Requirement | What you configure | What breaks if you skip it |
|---|---|---|
| Same time-step value | One step length, prover and verifier | Codes rejected even when typed correctly |
| Unique secret for each customer | One key for each customer account | Shared codes, cross-account risk |
| HOTP as the building block | A HOTP-based platform | Codes that do not meet the spec's HOTP rule |
What you set during kickoff:
- Confirm your platform is HOTP-based. Ask the vendor or your platform admin to confirm it. If your platform does not, customers may need a branded app, which adds friction you do not want in week one.
- Confirm interoperability for the customer's team. Some customers want multiple staff to hold the secret for break-glass access. Test that path with your platform before you promise it.
- Check fallback paths. If SMS or email delivery fails, does your platform still offer an app-based code? Fallback matters during kickoff because the first login is exactly when delivery issues surface.
For this kickoff, you are setting up one-time codes, which must build on HOTP.
The kickoff checklist
Print this. Work top to bottom before you tell the customer to try their first login.
- Time-step confirmed: Your configured step length matches the customer's authenticator app setting. Both ends agree.
- Clock sync checked: The customer's IT team confirms device time sync, so codes land in the right window.
- Unique secret verified: The account has its own secret. No shared or reused secrets across customer accounts. Bulk imports checked for duplicates.
- Secret stored safely: The secret lives in your vault. It never appears in email, tickets, or shared documents.
- HOTP compatibility confirmed: The platform builds on HOTP, as requirement three requires.
- Fallback path tested: An alternative delivery or app-based code works if SMS or email fails.
- Settings documented: Time-step, secret handling, and app instructions written into the kickoff notes.
Run two back-to-back test logins before the customer tries theirs, then work through the checks above if the second fails. For sign-in test day, see Customer sign-in: 5 checks before test day.
Illustrative example: one customer, two phones
Suppose a customer enrolls two phones and sets a 30-second time step on both sides. The admin writes the value in the kickoff notes and confirms the same setting in each authenticator app. Each phone holds its own secret. The first test login succeeds. A repeated test may be rejected, so the team checks the configured step, the device clock and the secret before anything else. Both phones are then confirmed to sync to the same clock, and the setup goes into the notes. This example is illustrative only; your values come from your platform.
What good looks like in the first week
On kickoff day, the customer receives their setup instructions. You walk them through enrolling a device. You confirm their authenticator app period matches yours. They type the first code. It works.
The second day, a team member tries from a different device. It works too, because that person enrolled their own secret and their device syncs the same time step. Nobody calls support.
By the end of the week, the customer's IT lead has your kickoff notes. They know the time-step value. They know where secrets live. They know how to rotate a secret when someone leaves. That is the difference between a smooth launch and a month of "my code isn't working" tickets.
Notice what does not appear in that story: last-minute setting changes, shared staging secrets copied into production, or a debate about time-step length during a live login attempt. Every one of those problems traces back to one of the three requirements.
Next step today: Open your platform's settings, write down the configured time-step, and add it to the kickoff notes before the customer's first login.
FAQ
What if a customer says their code keeps getting rejected? Work through the three requirements in order, starting with the time-step match between their device and your server. Then confirm their device clock is not drifting, and verify the secret on the account is the one their device holds.
Can one customer use the same secret on two phones? Not by default. Each device that generates codes needs its own secret under the spec's uniqueness rule.
Does the time-step length affect how long a code stays usable? Yes, it sets the window during which a given code is valid. A longer step means the code remains valid longer, which helps slow typers but widens the attack window. That trade-off is exactly why you lock the value down early and write it down.
Should we move to passkeys instead of codes? The choice is made at kickoff, but it depends on what your platform supports. Passkeys use cryptographic key pairs. For this launch, set up the three requirements above, then raise passkeys with your product team as a roadmap item.
Who approves a change to the time-step setting after launch? Your security or platform owner approves that change, not an individual customer request. Confirm with that owner how a change would affect existing customers before you make one. Your kickoff notes should name that owner so you know who to ask.
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.