🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

next-auth-automatic-setup

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-auth-automatic-setup

A CLI tool to automate the setup of NextAuth in a Next.js project with TypeScript

latest
Source
npmnpm
Version
1.0.16
Version published
Weekly downloads
4
300%
Maintainers
0
Weekly downloads
 
Created
Source

next-auth-automatic-setup

A CLI tool to automate the setup of NextAuth in a Next.js project with TypeScript.

Features

  • Automatic setup of NextAuth.js in Next.js projects
  • Support for both App Router and Pages Router
  • Multiple authentication methods (Providers, Credentials, Magic Link)
  • Database integration (MongoDB, PostgreSQL, MySQL)
  • TypeScript support
  • Automatic environment configuration

Installation

npm install -g next-auth-automatic-setup

Usage

In your Next.js project directory, run:

npx next-auth-automatic-setup

Follow the interactive prompts to configure your authentication setup.

Requirements

  • Next.js 13 or higher
  • Node.js 14 or higher
  • TypeScript

Configuration Options

  • Authentication Types:

    • OAuth Providers (Google, GitHub, etc.)
    • Credentials
    • Magic Link
    • Email/Password
  • Database Support:

    • MongoDB
    • PostgreSQL
    • MySQL

License

MIT

Author

Lucas PORRINI

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Keywords

next-auth

FAQs

Package last updated on 14 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts