Setting up secure user login in a Next.js app is straightforward with this guide. It walks through Auth.js v5 configuration for Google OAuth and a credentials provider with email and password. You will learn how to set environment variables and create API routes. This skill is perfect for developers who want to add authentication to their Next.js applications quickly.
The guide covers the key changes from version 4, including a simpler setup and better TypeScript support. It also shows how to generate a secret key and handle sessions. By following the steps, you can protect your pages and manage user sign-ins safely.
Global
mkdir -p ~/.claude/skills/authjs-skillsProject
mkdir -p .claude/skills/authjs-skillsSource Repository
Entra App Registrationmicrosoft/azure-skills
Register apps in Entra ID for secure authentication and API access with OAuth 2.0
Entra Agent Idmicrosoft/azure-skills
Create unique OAuth identities for each AI agent instance using Microsoft Graph
Firebase Auth Basicsfirebase/agent-skills
Add secure user sign-in to your app with Firebase Authentication in minutes
Convex Setup Authget-convex/agent-skills
Set up secure login and user management for your Convex app
Better Auth Best Practicesbetter-auth/skills
Add secure login to your app with email, OAuth, and plugins
Create Auth Skillbetter-auth/skills
Set up login and sign-up in your app with Better Auth easily
Email And Password Best Practicesbetter-auth/skills
Set up email verification, password reset, and secure login with Better Auth
Clerk Setupclerk/skills
Quickly add Clerk authentication to any project using the CLI tool