# Next.js authentication

> Provides authentication implementation patterns for Next.js 15+ App Router using Auth.js 5 (NextAuth.js).

- Page: https://youraiskill.com/skill/giuseppe-trisciuoglio-nextjs-authentication
- What it does: Provides authentication implementation patterns for Next.js 15+ App Router using Auth.js 5 (NextAuth.js). Use when setting up authentication flows, implementing protected routes, managing sessions in Server Components and Server Actions, configuring OAuth providers, implementing role-based access control, or handling sign-in/sign-out flows in Next.js applications.
- Niches: react, frontend
- Licence: MIT
- Status: Free on GitHub: not rated 7 or higher by Claude yet, or it does something a person should look at first (for example runs programs or calls the internet), or its licence or authorship needs a look. Never sold.
- Contents: instructions and reference files only

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
