Task prompt · Coding

Add authentication to my app

by Agent Yard Team

Login done properly, with the security basics covered.

You'll attach

Text only

Works with

CursorClaude CodeCodexClaudeChatGPTGemini

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.

How to use it

  1. Open Cursor or Claude Code in your terminal (or another AI listed here).
  2. Fill in the highlighted blanks ([FRAMEWORK], [AUTH PROVIDER OR LIBRARY], [EMAIL LOGIN, GOOGLE LOGIN, MAGIC LINK, ETC.]) below, or edit them after pasting.
  3. Copy the prompt, paste it into the chat and send.

Fill in the blanks (optional)

Prompt

Remix
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 best new prompts and personas, nothing else.

The Weekly is presented byyour brandSponsored · open

More Coding prompts

Footer partner · openThis strip runs at the foot of every page. One partner at a time.Ask about it →