Skip to Content
The AKIN Travel developer platform is in beta — APIs may change. Get started →
Changelog2026-11-19 — A replaced sign-in code has its own refusal

2026-11-19 — A replaced sign-in code has its own refusal, and a repeat code request sends no second email

Two changes to the email sign-in code (#8929 ).

Added — AuthRefusal.CODE_SUPERSEDED

  • verifyAuthCode answers refusal: CODE_SUPERSEDED when the member types a code that a newer code for the same address has replaced. The error reads “That code has been replaced — use the code in your newest email.”
  • Before, that code answered CODE_WRONG. A client that switches on AuthRefusal should treat an unknown value as CODE_WRONG.
  • A replaced code never verifies, and it still counts against the try limits.

Changed — a repeat code request within 10 seconds

  • requestMagicLink, sendJoinLink and the partner bot sign-in send no second email when the same address asks again for the same partner and code type within 10 seconds. The answer is the usual success, and the code from the first email still works.
Last updated on