| name | replit-install-auth |
| description | Set up a Replit project with .replit + replit.nix configuration, Secrets, and Replit Auth.
Use when creating a new Replit App, configuring Nix packages, managing secrets,
or adding user authentication with Replit Auth.
Trigger with phrases like "setup replit", "replit auth", "replit nix config",
"replit secrets", "configure replit", "new replit project".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(pip:*), Bash(nix:*), Grep |
| version | 1.12.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","replit","authentication","nix","secrets","configuration"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Replit Install & Auth
Overview
Set up a Replit App from scratch: configure .replit and replit.nix, manage Secrets (AES-256 encrypted environment variables), and integrate Replit Auth for zero-setup user authentication with Google, GitHub, Apple, X, and Email login.
Prerequisites
- Replit account (Free, Core, or Teams plan)
- Replit App created from template, GitHub import, or blank
- For Auth: deployed app on
.replit.app or custom domain
Instructions
Step 1: Configure .replit File
entrypoint = "index.ts"
run = "npm start"
modules = ["nodejs-20:v8-20230920-bd784b9"]
[nix]
channel = "stable-24_05"
[env]
NODE_ENV = "development"
PORT = "3000"
[deployment]
run = ["sh", "-c", "npm start"]
deploymentTarget = "autoscale"
build = ["sh", "-c", "npm run build"]
ignorePorts = [3001]
[unitTest]
language = "nodejs"
[packager]
language = "nodejs"
[packager.features]
packageSearch = true
guessImports =
= [, ]