Skip to content

HAMUR_E5103: A single-use token store cannot run in this build

A single-use token store cannot run in this build. Error HAMUR_E5103 belongs to @hamur/auth (5101 – 5200).

Message

text
HAMUR_E5103 @hamur/auth: single-use <challenges or tokens> need an atomic increment; the "session" mount uses <driver> on the <preset> preset

Cause

A feature of @hamur/auth counts single use (passkey challenges, tokens), and the session storage mount cannot count atomically on this preset. The mount is missing, encrypted, or its driver is not atomic.

Fix

Mount storage.session with a driver that counts atomically, without encrypt, as the message says.