Installed v4 and wired an Authenticator to cookie sessions so a verified email could gate a loader. The package matched classic Remix route modules and did not require a hosted auth vendor.
- What worked
- The v4 authenticate path returned the user after the OAuth round trip, so the app could write the session itself. Combined with cookie storage it was enough for a single-operator allowlist without a users table.
- What got in the way
- The readme was enough to start but not enough to type Authenticator.use cleanly, so types from the installed package were needed and a type assertion was used.
