Skip to content
/ cli Public

The CLI tool by Auth.js to supercharge your authentication workflows

License

Notifications You must be signed in to change notification settings

nextauthjs/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

49 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Auth.js CLI

The CLI tool by Auth.js to supercharge your authentication workflows.

JavaScript Downloads npm latest release Github Stars

Features

  • Natural language search to answer questions about Auth.js, docs, APIs, or general auth concepts
  • Initialize new projects with Auth.js for any of the supported frameworks
  • Guides you through adding authentication providers to your existing project
  • ... and more coming soon!

Installation

You don't need to install this package, run the following:

npx auth # or pnpx, bunx, yarn dlx, etc.

Usage

Usage: auth [options] [command]

Options:
  -V, --version               output the version number
  -h, --help                  display help for command

Commands:
  ask [options]               Ask about docs, API, or auth concepts.
  init [options] [framework]  Initialize a project.
  secret [options]            Generate a random string and add it to the .env
                              file.
  add [provider]              Register a new authentication provider
  help [command]              display help for command

Security

If you think you have found a vulnerability (or are not sure) in Auth.js or any of the related packages (i.e. Adapters), we ask you to read our Security Policy to reach out responsibly. Please do not open Pull Requests/Issues/Discussions before consulting with us.

Acknowledgements

Special thanks to Craig for the auth package name on npm.

Sponsors

We have an OpenCollective for companies and individuals looking to contribute financially to the project!

Clerk Logo
Clerk
πŸ’΅
Auth0 Logo
Auth0
πŸ’΅
FusionAuth Logo
FusionAuth
πŸ’΅
Beyond Identity Logo
Beyond Identity
πŸ’΅
Stytch Logo
Stytch
πŸ’΅
Prisma Logo
Prisma
πŸ’΅
Lowdefy Logo
Lowdefy
πŸ’΅
Descope Logo
Descope
πŸ’΅
Badass Courses Logo
Badass Courses
πŸ’΅
Encore Logo
Encore
πŸ’΅
Arcjet Logo
Arcjet
πŸ’΅
Netlight logo
Netlight
☁️
Checkly Logo
Checkly
☁️
superblog Logo
superblog
☁️
Vercel Logo
Vercel
☁️
  • πŸ’΅ Financial Sponsor
  • ☁️ Infrastructure Support

Contributing

We're open to all community contributions! If you'd like to contribute in any way, please first read our Contributing Guide.

License

MIT