Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Coding agents: Add full-stack auth to your app

Let your coding agents guide you into implementing Scalekit full-stack authentication in minutes

Use AI coding agents to implement Scalekit’s full-stack authentication in your web applications. The agent analyzes your codebase and generates production-ready code for login, session management, and logout.

npx @scalekit-inc/cli setup
Claude Code Cursor GitHub Copilot Codex 40+ more
  1. Copy this prompt into your coding agent:

    Full Stack Auth implementation prompt
    Implement Scalekit full-stack auth — initialize ScalekitClient with environment credentials, implement the login redirect, handle the OAuth callback to exchange the code for tokens, store the session securely, and add a logout endpoint that clears the session. Code only.
  2. Check that generated files include:

    • Scalekit client initialization with environment credentials
    • Login route that redirects to Scalekit’s authorization endpoint
    • OAuth callback route that exchanges the code for tokens
    • Secure session storage with proper cookie attributes
    • Logout endpoint that clears the session