Skip to main content
Back to registry

authjs-skills

gocallum/nextjs16-agent-skills

Note : Auth.js v5 is currently in beta. Use next-auth@beta to install the latest v5 version.

Installs304
Install command
npx skills add https://github.com/gocallum/nextjs16-agent-skills --skill authjs-skills
Security audits
Gen Agent Trust HubFAIL
SocketPASS
SnykPASS
About this skill
Note : Auth.js v5 is currently in beta. Use next-auth@beta to install the latest v5 version. Important : Never commit AUTH_SECRET to version control. Use .env.local for development. Create auth.ts at the project root (next to package.json ): Note : This is a basic setup example. For production-ready credentials authentication, see the "Credentials Provider" section below which includes proper password hashing with bcrypt and database integration. Create app/api/auth/[...nextauth]/route.ts : Create middleware.ts at the project root: For more control: Auth.js v5 supports two session strategies: For persisting users, accounts, and sessions in a database, install the Prisma adapter: Then configure it in your auth.ts : Required Prisma schema: AUTH_SECRET not set : Generate and set AUTH_SECRET in .env.local Google OAuth redirect mismatch : Ensure redirect URI in Google Console matches: Session not persisting : TypeScript errors with session : Credentials provider not working : - Getting Started: - Migrating to v5: - Google Provider: - Credentials Provider: - Core API Reference: - Session Management: - Concepts: - Simplified Configuration : More streamlined setup with better TypeScript support - Universal auth() Export : Single function for authentication across all contexts - Enhanced Security : Improved CSRF protection and session handling - Edge Runtime Support : Full...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does authjs-skills do?

Note : Auth.js v5 is currently in beta. Use next-auth@beta to install the latest v5 version.

Is authjs-skills good?

authjs-skills does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does authjs-skills work with?

authjs-skills currently lists compatibility with codex, gemini-cli, opencode, cursor, github-copilot, claude-code.

What are alternatives to authjs-skills?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install authjs-skills?

npx skills add https://github.com/gocallum/nextjs16-agent-skills --skill authjs-skills

Related skills

More from gocallum/nextjs16-agent-skills

Related skills

Alternatives in Software Engineering