Authentication

Authentication Module

Identity management and session control via Email OTP and secure cookies.


Description

The Authentication module provides the gateway to the VeriWorkly ecosystem. It utilizes a passwordless Email OTP (One-Time Password) flow to ensure a friction-less and secure user experience.

Once authenticated, the system establishes a secure, HTTP-only session that persists across the dashboard and resume builder.


Authentication Flow

VeriWorkly follows a simple 2-step verification process:

  1. OTP Request: The user submits their email. A short-lived, numeric code is sent via our SMTP provider.
  2. Verification: The user submits the code. Upon success, a secure cookie is set in the browser, and the user is granted access to their private data.

Security & session management

FeatureImplementation
ProtocolPasswordless Email OTP.
Session TypeHTTP-only, Secure, SameSite cookies to prevent CSRF and XSS.
ProviderPowered by Better Auth with a Prisma adapter for persistent session storage.

Available Endpoints

On this page

Edit on GitHub