{
  "id": 21885385,
  "title": "Password Recovery Links Versus One Time Codes Across 2 Devices",
  "url": "https://urgent.news/2026/11/25/password-recovery-links-versus-one-time-codes-across-2-devices",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-25T23:45:14.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/garrisonsterling2693/password-recovery-links-versus-one-time-codes-across-2-devices-16nc"
  },
  "original_language": "en",
  "account": "A reader begins on a laptop, checks their email on a phone, but is unable to complete the recovery process. This scenario highlights the importance of choosing the most effective recovery path for the user. Two options are available: a password reset link or a one-time code. Both methods can be secure if the credential is temporary and single-use. The media site should default to the recovery method that aligns with the reader's device transition, and independently verify the expiration and single-use nature of the credential. Neither method should be deemed more secure simply because it appears more sophisticated. The organization must determine which accounts have a password that can be reset and which recovery requests correspond to Google or GitHub social sign-in. The reader should be guided to the appropriate next step based on these determinations. The recovery process should be treated as an acceptance criterion, not an assumed behavior of a social login button. The recovery SLI should differentiate between a request being accepted and the reader successfully resetting their password. Instrumentation should track the transition between these events, with separate outcomes for each format. A proposed matrix can be used to test the four possible journeys: a link opened on the starting device, a link opened on another device, a code entered on the starting device, and a code carried back from another device. Each journey should also be tested with reuse and attempts after expiration to ensure proper behavior. The completion ratio requires defining its denominator and observation window, as well as establishing a deadline for the product. The capacity planning impact should be considered, as repeated starts can consume email and request capacity. The chosen recovery method should be based on the trade-off between typing effort and device transition compatibility. Regardless of the chosen method, the expiration and single-use properties must be enforced by the component accepting the recovery credential. These properties cannot be achieved through formatting alone. The password reset path must clearly communicate the next steps to the reader, especially when using social sign-in providers like Google or GitHub. Account ownership and merging should not be inferred based on shared email addresses. Instrumentation should be implemented before changing the default format, to ensure accurate tracking of completion outcomes. Finally, the integration contract should be reviewed to confirm the actual schema and prepare for instrumentation implementation.",
  "summary": "Imagine the page: password recovery completion has fallen below the media site's SLO, while the on-call dashboard still shows recovery requests being accepted. A reader starts on a laptop, opens the email on a phone, and cannot finish the session-bound link flow. This is a hypothetical alert, but it exposes the decision that matters when adding Google and GitHub social sign-in alongside password…",
  "key_points": [
    "Password recovery can be done via link or one-time code on two devices",
    "Both methods require temporary, single-use credentials for security",
    "Recovery process should be treated as acceptance criterion, not default"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}