Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>🔐 Auth Wizard - Auto Authentication SetupNew to Visual Studio Code? Get it now.
🔐 Auth Wizard - Auto Authentication Setup

🔐 Auth Wizard - Auto Authentication Setup

Amanblaze

|
1 install
| (0) | Free
Automatically setup JWT/Session authentication in your Node.js/Express/Next.js project with step-by-step guidance
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🔐 Auth Wizard - VS Code Extension

Apne Node.js / Express / Next.js project mein automatically authentication add karne ka sabse aasaan tarika!

✨ Features

  • 🧙 5-step wizard - Aapko guided karta hai
  • 🔑 JWT / Session / JWT+Refresh authentication support
  • 🗄️ MongoDB, PostgreSQL, MySQL, SQLite database support
  • 📁 Auto file generation - routes, middleware, models, controllers
  • 🔒 Password hashing (bcryptjs), validation included
  • 📋 Step-by-step guide webview panel
  • 🛡️ Role-based access optional feature
  • 🔄 Password reset optional feature
  • 📧 Email verification setup

🚀 How to Use

Method 1: Command Palette

  1. Ctrl+Shift+P (ya Cmd+Shift+P Mac pe)
  2. Type: Auth Wizard: Setup Authentication
  3. Wizard ke steps follow karein

Method 2: Right-click

  1. Explorer mein kisi file pe right-click karein
  2. 🔐 Setup Authentication select karein

📁 Generated Files (Express)

your-project/
├── src/
│   ├── app.js                    ← Main app file
│   ├── routes/
│   │   ├── auth.js               ← Auth routes
│   │   └── user.js               ← User routes (optional)
│   ├── controllers/
│   │   ├── authController.js     ← Register, Login, Logout
│   │   └── userController.js     ← Profile management
│   ├── middleware/
│   │   ├── auth.js               ← JWT/Session protect middleware
│   │   └── authorize.js          ← Role-based access (optional)
│   ├── models/
│   │   └── User.js               ← User model with password hashing
│   └── utils/
│       ├── generateToken.js      ← JWT token generator
│       ├── sendResponse.js       ← Consistent API responses
│       └── resetToken.js         ← Password reset utils (optional)
├── .env                          ← Auto-generated with secrets
├── .env.example                  ← Template for teammates
├── .gitignore                    ← .env already added
└── AUTH_README.md                ← Full documentation

🛠️ Development

# Extension install karein
npm install

# VS Code mein test karein
# F5 press karo - Extension Development Host khulega

📥 How to Install the .vsix File

Step 1: Open Visual Studio Code. Step 2: Go to the Extensions view by clicking the Extensions icon in the Activity Bar on the side of VS Code or by pressing Ctrl+Shift+X (ya Cmd+Shift+X on Mac). Step 3: Click on the Views and More Actions icon (... three dots) at the top right of the Extensions view. Step 4: Select Install from VSIX... from the dropdown menu. Step 5: Locate and select the auth-wizard-1.0.0.vsix file, then click Install.

Command Palette Alternative Method
  1. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac).
  2. Type Install from VSIX... and hit Enter.
  3. Select your .vsix file.

📦 Package for Development (vsce)

# Extension package karo
npm install -g @vscode/vsce
vsce package

🤝 Supported Stack

Project Auth Database
Express.js JWT MongoDB
Express + TypeScript Session PostgreSQL
Next.js JWT + Refresh MySQL / SQLite

Made with ❤️ by Rausheen Hasan

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft