Hypermedia

Email/password Auth

19 steps 22 files 4 packages No dependencies

This pack adds email and password authentication to your app. Users sign up, log in, and log out, and every new account confirms its email address before it is treated as active.

  • Email verification for new signups, with a screen to resend the confirmation mail.
  • Rate-limited login and signup that penalise repeated failed attempts.
  • A branded, MJML-based confirmation email.

Apply the authentication pack with Flow. Start a new session in your selected coding agent and execute the following slash command inside it.

$ claude
> /flow.apply auth

After applying, Flow will make the following changes to your app:

  • Establish the foundation it needs, a session web guard, the guest and auth middleware, and an authenticated landing route, wherever your app is missing one.
  • Land the backend as shipped, from the migrations and model mixin through the validators, controllers, routes, middleware, and mailer.
  • Configure mail and the limiter to the choices you give it.
  • Restyle the login, signup, activation, and verify-email screens to your design system.
  • Run the tests, then walk the signup, verify, and login flow and show you the result.
Terms & License Agreement