·auth0-nextjs
</>

auth0-nextjs

auth0/agent-skills

在通过服务器端和客户端身份验证向 Next.js 应用程序添加身份验证时使用 - 通过 @auth0/nextjs-auth0 SDK 支持 App Router 和 Pages Router

45安装·7热度·@auth0

安装

$npx skills add https://github.com/auth0/agent-skills --skill auth0-nextjs

SKILL.md

Add authentication to Next.js applications using @auth0/nextjs-auth0. Supports both App Router and Pages Router.

For automated setup with Auth0 CLI, see Setup Guide for complete scripts.

Note: In v4, wrapping with is optional. Only needed if you want to pass an initial user during server rendering to useUser().

在通过服务器端和客户端身份验证向 Next.js 应用程序添加身份验证时使用 - 通过 @auth0/nextjs-auth0 SDK 支持 App Router 和 Pages Router 来源:auth0/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/auth0/agent-skills --skill auth0-nextjs
分类
</>开发工具
认证
收录时间
2026-02-17
更新时间
2026-02-18

快速解答

什么是 auth0-nextjs?

在通过服务器端和客户端身份验证向 Next.js 应用程序添加身份验证时使用 - 通过 @auth0/nextjs-auth0 SDK 支持 App Router 和 Pages Router 来源:auth0/agent-skills。

如何安装 auth0-nextjs?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/auth0/agent-skills --skill auth0-nextjs 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/auth0/agent-skills