Ultimate

X_VERIFICATION_PURPOSE_UNKNOWN

Means

a verification token was issued or consumed for a purpose nothing declared

Typical cause

issueVerification or consumeVerification named a purpose no defineVerificationPurpose() call declared at boot

Fix

defineVerificationPurpose({ name: '<purpose>', template: 'auth.<purpose>', ttlMs }) # once, at boot

Listed under Auth and sessions

This page as markdown