auth0-nextjs

작성자: auth0

Auth0 인증을 Next.js 앱에 추가하여 세션 관리, 보호된 라우트 및 미들웨어를 제공합니다. App Router와 Pages Router를 모두 지원하며, /auth/login, /auth/logout, /auth/callback 엔드포인트를 통한 자동 OAuth 콜백 처리를 제공합니다. 서버 컴포넌트 및 API 라우트를 위해 auth0.getSession()을 통해 서버 측 세션에 접근할 수 있으며, 클라이언트 컴포넌트를 위해 useUser() 훅을 제공합니다. Next.js 15+의 경우 middleware.ts, Next.js 16의 경우 proxy.ts와 같은 미들웨어 구성이 필요합니다.

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

auth0의 다른 스킬

acul-screen-generator
auth0
Auth0 Universal Login 화면을 전체 UI 제어로 구축하거나 사용자 지정할 때 사용 — ACUL React 등을 사용하여 브랜드화된 로그인, 가입 또는 MFA 화면 생성.
official
auth0-android
auth0
Use when adding Auth0 login, logout, or credential management to an Android app in Kotlin or Java. Covers Web Auth, biometric-protected CredentialsManager, and…
official
auth0-android-major-migration
auth0
Android 앱의 Auth0 SDK(com.auth0.android:auth0)를 다음 주요 버전으로 업그레이드할 때 사용합니다. 현재 버전을 감지하고, 사전 요구 사항을 확인하며, …
official
auth0-angular
auth0
Use when adding Auth0 login, logout, route guards, or HTTP interceptors to an Angular application. Integrates @auth0/auth0-angular for SPAs — use even if the…
official
auth0-aspnetcore-api
auth0
Use when protecting ASP.NET Core Web API endpoints with JWT Bearer token validation, scope checks, or DPoP binding. Integrates…
official
auth0-aspnetcore-authentication
auth0
다음을 추가할 때 사용합니다: ASP.NET Core MVC, Razor Pages 또는 Blazor Server 웹 앱에 쿠키 기반 로그인, 로그아웃 또는 사용자 프로필. 통합합니다…
official
auth0-branding
auth0
Auth0 Universal Login의 모양을 브랜드에 맞게 커스터마이징할 때 사용합니다 — 색상, 로고, 글꼴, 페이지 레이아웃, 또는 로그인 텍스트를 변경하는 경우입니다. 또한 초기화할 때도 사용합니다…
official
auth0-custom-domains
auth0
Auth0 사용자 지정 로그인 도메인(예: login.example.com)을 설정, 확인 또는 문제 해결할 때 사용합니다. CNAME 설정, 확인, TLS 정책, Multiple…을 다룹니다.
official