Community生產力與協作github.com

auth0/auth0-nextjs

用於在 Next.js 應用程式中加入身分驗證 (登入、登出、受保護頁面、中介軟體、伺服器元件) - 支援 App Router 和 Pages Router,搭配 @auth0/nextjs-auth0 SDK。

auth0-nextjs 是什麼?

這個技能專門用於在 Next.js 應用程式中整合 Auth0 身分驗證。它支援 Next.js 的 App Router 和 Pages Router 兩種路由系統,並利用官方 SDK @auth0/nextjs-auth0 提供標準的認證功能,包括使用者登入、登出、保護頁面或路由、使用中介軟體進行全域或條件式驗證,以及在伺服器元件中安全地存取使用者資訊。此技能能協助開發者快速建置安全的驗證流程,無需從頭撰寫複雜的 OAuth 邏輯。主要支援平台為 Auth0 的開發與部署環境,適用於任何使用 Next.js 框架的 Web 應用程式。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/auth0/agent-skills/tree/main/skills/auth0-nextjs

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

auth0-nextjs 是做什麼的?

用於在 Next.js 應用程式中加入身分驗證 (登入、登出、受保護頁面、中介軟體、伺服器元件) - 支援 App Router 和 Pages Router,搭配 @auth0/nextjs-auth0 SDK。

Individual skills in this repo

This repo contains 2 individual skills — each has its own dedicated page.

相關技能