Authentication
Compose credentials, magic links, sessions, passkeys, MFA, and connected-provider access without handing application identity to a framework.
Email and password
Use Playstack's Node.js authentication entrypoint with application-configured Argon2id password hashing.
Visit Argon2 ↗Compose credentials, magic links, sessions, passkeys, MFA, and connected-provider access without handing application identity to a framework.
Email and password
@playstack/auth/node supplies a password hasher backed by the optional argon2 peer dependency. It uses Argon2id and keeps encoded parameters in the stored verifier so future policy changes can trigger rehashing after a successful sign-in.
import { argon2id } from '@playstack/auth/node'
const passwords = argon2id({
memoryCostKiB: 19_456,
timeCost: 2,
parallelism: 1,
})The Node-only entrypoint stays separate from the Worker-safe authentication core. Applications own password policy, breach checks, rate limits, and the deployment resources required by their selected hash parameters.