Skip to content

docs: replace stale Auth.js CLI references - #13491

Open
s0NRAYY wants to merge 1 commit into
nextauthjs:mainfrom
s0NRAYY:docs/replace-stale-auth-cli
Open

s0NRAYY wants to merge 1 commit into
nextauthjs:mainfrom
s0NRAYY:docs/replace-stale-auth-cli

Conversation

@s0NRAYY

@s0NRAYY s0NRAYY commented Aug 31, 2026 •

Copy link
Copy Markdown

☕️ Reasoning

The unscoped auth package now publishes the Better Auth CLI. Its secret command emits BETTER_AUTH_SECRET, while Auth.js reads AUTH_SECRET. The existing npx auth secret and npm exec auth secret guidance therefore runs another project's CLI and produces an environment key Auth.js does not consume.

This change:

  • replaces the stale CLI commands in installation, deployment, environment, example, and TypeDoc guidance with openssl rand -base64 33
  • tells installation readers to store the generated value as AUTH_SECRET
  • redirects cli.authjs.dev to the current Auth.js installation guide instead of the former CLI repository

No runtime behavior or package dependencies change.

Validation:

  • repository-wide search found no remaining npx auth secret, npm exec auth secret, Auth.js CLI, or github.com/nextauthjs/cli references
  • pnpm format
  • pnpm build:docs
  • ESLint on the changed JavaScript and TypeScript files
  • git diff --check

🧢 Checklist

  • Documentation
  • Tests — documentation-only change; no runtime behavior changed
  • Ready to be merged

🎫 Affected issues

Related: nextauthjs/cli#29

📌 Resources

Signed-off-by: s0NRAYY <vlad.khan2008@gmail.com>
@vercel

vercel Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
auth-docs Ready Ready Preview Aug 31, 2026 11:03pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
next-auth-docs Ignored Ignored Preview Aug 31, 2026 11:03pm

Request Review

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@s0NRAYY is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

This branch was successfully deployed

1 active deployment
Preview – auth-docs — e38a3594 Deployed Aug 31, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Refers to `@auth/core`

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant