Task prompt · Coding
Add authentication to my app
by Agent Yard TeamLogin done properly, with the security basics covered.
Use cases
- Login done properly, with the security basics covered.
- Reuse it as often as you like: fill in the blanks (framework; auth provider or library; email login, google login, magic link, etc.) with new details and copy again.
- With Cursor, Claude Code, Codex and more, the AIs that support what this prompt needs.
Featured in: Best Claude Code prompts for building web apps.
How to use it
- Open Cursor or Claude Code in your terminal (or another AI listed here).
- Fill in the highlighted blanks ([FRAMEWORK], [AUTH PROVIDER OR LIBRARY], [EMAIL LOGIN, GOOGLE LOGIN, MAGIC LINK, ETC.]) below, or edit them after pasting.
- Copy the prompt, paste it into the chat and send.
Fill in the blanks (optional)
Prompt
Add authentication to my [FRAMEWORK] app using [AUTH PROVIDER OR LIBRARY]. Needs: [EMAIL LOGIN, GOOGLE LOGIN, MAGIC LINK, ETC.]. Implement sign up, sign in, sign out, protected routes and a session check on the server. Handle secure cookies, CSRF where relevant and password reset if using passwords. List the environment variables and the console setup steps for the provider, and write a short manual test plan.
One email a week
The Weekly is presented byyour brandSponsored · openThe best new prompts and personas, nothing else.