Skip to Content
The AKIN Travel developer platform is in beta — APIs may change. Get started →
Changelog2026-12-01 — A member's first passkey needs a recent sign-in, with an emailed code as the step-up

2026-12-01 — A member’s first passkey needs a recent sign-in, with an emailed code as the step-up

A member’s FIRST passkey now needs a sign-in less than 10 minutes old (#9254 ). Until now the first passkey needed no recent sign-in at all. The GraphQL schema does not change.

Changed — passkeyRegistrationOptions and passkeyRegister

  • For a member with no passkey, a sign-in older than 10 minutes is refused with extensions.code: STEP_UP_REQUIRED and extensions.reason: FIRST_PASSKEY.
  • A member with a passkey is unchanged: a sign-in older than 5 minutes is refused with STEP_UP_REQUIRED and no reason.
  • FIRST_PASSKEY means the member has no passkey to re-authenticate with. Step up with the emailed code: requestStepUpEmailCode, then verifyStepUpEmailCode(code), then sign in with the customToken it returns in its tenantId. Then send the refused mutation again.

Added — the partner SDK steps up a first passkey by emailed code

  • AkinProvider takes config.emailStepUp.promptForCode. On a FIRST_PASSKEY refusal the SDK emails the member a 6-digit code and calls promptForCode to ask for it. Show your own input and resolve the code, or null if the member cancels. A wrong code asks again with error: 'WRONG_CODE' and attemptsLeft.
  • An existing integration without emailStepUp is refused a member’s first passkey 10 minutes or more after that member signed in. The add answers STEP_UP_REQUIRED with extensions.stepUpFailure: NOT_CONFIGURED, and the SDK writes one console.warn that names the option. The member must sign in again before they add their first passkey. Set emailStepUp to avoid this.
  • A failed code step-up also names its failure in extensions.stepUpFailure: CANCELLED, CODE_EXPIRED, TOO_MANY_ATTEMPTS, DAILY_LIMIT or NO_TOKEN.
  • @akin-travel/sdk-core adds runEmailStepUp, the REQUEST_STEP_UP_EMAIL_CODE and VERIFY_STEP_UP_EMAIL_CODE operations, and STEP_UP_REASON_FIRST_PASSKEY, and EmailStepUpError (its reason is the failure above). A requestStepUp handler you pass to createAkinClient is now called with { reason }. A handler that takes no argument still works.
Last updated on