Auth

Managed user authentication

Add user authentication with a single configuration option. Ploy Auth creates the user tables in a database you own, serves sign-in with email and password, passkeys, Google, Apple, and GitHub, each toggled per project from the dashboard, and ships React components for the forms, so your app can act on behalf of a signed-in user from the first deploy.

Authentication Dashboard

Total Users

1,247

+12 this week

Active Sessions

342

Currently active

Sign Ups Today

18

+5 from yesterday

Email Verified

94%

1,172 of 1,247

Recent Users

Users who signed up recently

IDEmailVerifiedCreatedLast Sign In
usr_a1b2c3d4...alice@example.com
Verified
1/15/20242 minutes ago
usr_e5f6g7h8...bob@example.com
Verified
1/14/20241 hour ago
usr_i9j0k1l2...carol@example.com
Pending
1/13/20243 days ago
usr_m3n4o5p6...david@example.com
Verified
1/12/20245 hours ago
usr_q7r8s9t0...eve@example.com
Verified
1/10/20241 day ago

Key Features

Secure by Default

scrypt password hashing, a per-project signing secret, and rate-limited sign-in endpoints, with nothing for you to configure.

Session Cookies

httpOnly cookie sessions with revocation, served from /_ploy/auth/* endpoints on your own domain.

React Components

AuthProvider, SignInForm, and SignUpForm from @meetploy/auth-react, with dark mode support.

Your Database

Users live in a SQLite database attached to your project, queryable like any other table.

Auth Configuration

Enable auth with a single line in your ploy.yaml file.

ploy.yaml
kind: dynamic
build: pnpm build
out: dist
auth:
  binding: AUTH_DB

Ready to get started?

Deploy your first project in minutes with Ploy.