Sign-in, with a page only signed-in people can see
Takes
30 min in 3 steps
Checked
19 Nov 2026
min
Your estimate is optional. Your review compares it with how long it took; nothing is scored.
Only signed-in people can post, and there's a /mine page listing your own messages. You use a provider for the hard part. Your job is to check the parts the agent tends to skip: the server checks the session, not just the page.
You'll needThe guestbook from SH-1 (or any app). An auth provider: Supabase Auth, Clerk, Auth.js or similar. Don't write password storage yourself. Prices checked this month are on Tools.
Pick a provider and write it down
Step 1 of 3, about 5 min
Add the provider and the sign-in method to AGENTS.md. Agents mix up libraries and versions; naming the exact one saves you a broken install.
The part of a video worth watching for this step
YouTube, Tech With Tim. Published Jul 2026.Checked 19 Nov 2026
Optional. The step counts when you've done it, whether or not you watch. Minutes from the creator's chapters; our notes on this video.
Add sign-in
Step 2 of 3, about 15 min
Add your public URL to the provider's list of allowed redirect URLs, or sign-in will work locally and fail once deployed.
Paste this to your agent
Add sign-in with <provider>, email magic link only. Protect POST /messages and add a /mine page. Check the session on the server for both.
The part of a video worth watching for this step
YouTube, Jason Lee. Published May 2026.Checked 19 Nov 2026
Optional. The step counts when you've done it, whether or not you watch. Minutes from the creator's chapters; our notes on this video.