Login (Authentication)
Authentication (Auth)
Checking who someone is. Sign-up, log in, and log out all belong here.
💡 It's tapping your badge to get into an office building.
🤖 Say this to your AI
Build email and password sign-up and login (authentication). Store passwords securely hashed, and only let logged-in users into the 'My Page' area.
The key word is ‘Authentication (Auth)’. Including it helps AI understand you much more precisely.
📌 Good to know
Checking who someone is is authentication; deciding what they're allowed to do (like only admins can delete) is authorization. Rather than building login yourself, it's safer to use a proven service like Auth.js, Clerk, or Supabase Auth.
When to use it
- When each person should see their own info, like 'my posts' or 'my orders'
Also called: login, log in, sign up, sign in, auth, log out, password, user accounts, authorization, clerk