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_REQUIREDandextensions.reason: FIRST_PASSKEY. - A member with a passkey is unchanged: a sign-in older than 5 minutes is
refused with
STEP_UP_REQUIREDand noreason. FIRST_PASSKEYmeans the member has no passkey to re-authenticate with. Step up with the emailed code:requestStepUpEmailCode, thenverifyStepUpEmailCode(code), then sign in with thecustomTokenit returns in itstenantId. Then send the refused mutation again.
Added — the partner SDK steps up a first passkey by emailed code
AkinProvidertakesconfig.emailStepUp.promptForCode. On aFIRST_PASSKEYrefusal the SDK emails the member a 6-digit code and callspromptForCodeto ask for it. Show your own input and resolve the code, ornullif the member cancels. A wrong code asks again witherror: 'WRONG_CODE'andattemptsLeft.- An existing integration without
emailStepUpis refused a member’s first passkey 10 minutes or more after that member signed in. The add answersSTEP_UP_REQUIREDwithextensions.stepUpFailure: NOT_CONFIGURED, and the SDK writes oneconsole.warnthat names the option. The member must sign in again before they add their first passkey. SetemailStepUpto avoid this. - A failed code step-up also names its failure in
extensions.stepUpFailure:CANCELLED,CODE_EXPIRED,TOO_MANY_ATTEMPTS,DAILY_LIMITorNO_TOKEN. @akin-travel/sdk-coreaddsrunEmailStepUp, theREQUEST_STEP_UP_EMAIL_CODEandVERIFY_STEP_UP_EMAIL_CODEoperations, andSTEP_UP_REASON_FIRST_PASSKEY, andEmailStepUpError(itsreasonis the failure above). ArequestStepUphandler you pass tocreateAkinClientis now called with{ reason }. A handler that takes no argument still works.
Last updated on