ProfessorGPTProfessorGPT
Auth0
Çoklu dosya
Auth0Auth0· v1.0.0
codingResmi
Resmi Sağlayıcı Skill'iView repo

Add authentication to Next.js applications using @auth0/nextjs-auth0 v4 (App Router + Pages Router): install, Auth0Client singleton, middleware/proxy route mounting, env config, useUser, getSession/getAccessToken, protecting pages and API routes, and step-up MFA. Entry point for all nextjs-auth0 skills.

Dosyalar4 dosya
SKILL.md686 satır
Loading editor…

Kurulum

Önerilen

Tek komut — ajanınız otomatik olarak devreye alır.

Kurulum komutunu görmek için yukarıdan bir AI aracı seçin.

veya

Manuel Kurulum

Daha fazla adım

Arşivi indirin ve dosyaları projenize manuel olarak ekleyin.

Skill detayları

Versiyonv1.0.0
YazarAuth0
Kategoricoding
Skill IDauth0/nextjs-auth0/skills
Dosyalar4 dosya

İlgili skill'ler

MfaMulti-factor authentication with @auth0/nextjs-auth0 v4: redirect step-up via Universal Login (amr gating), server-side step-up on mfa_required, the MFA management API (getAuthenticators, enroll, challenge, verify), and reactive step-up via mfa.challengeWithPopup(). Covers the beforeSessionSaved amr hook, the secure mfa_token handoff, and MFA error classes.OrganizationsAuth0 Organizations (multi-tenant B2B) with @auth0/nextjs-auth0 v4: pass organization at login via authorizationParameters / the /auth/login query param / startInteractiveLogin, read org_id back from the session, validate it on the backend, accept invitations, and configure orgs/connections via the Auth0 CLI or Terraform.PasskeysPasskey (WebAuthn) flows with @auth0/nextjs-auth0 v4: signup, sign-in, and My Account enrollment using the server-side auth0.passkey.* API inside App Router route handlers or server actions, with navigator.credentials and serializeCredential in the browser.Add Template Dotnet VersionAdds support for a new .NET version (for example net11.0) to every existing Auth0 project template in this repo, by scaffolding each project with `dotnet new` on that SDK and re-integrating Auth0. Use when the user asks to "support .NET N", "add version N", or "update the templates for the new .NET release".Integrate Auth0Adds Auth0 authentication or authorization to a freshly scaffolded .NET project (packages, Program.cs, configuration with placeholders) following this repo's existing template patterns. Use after scaffolding a base project, for MVC, Web API, Blazor, MAUI, console, or BFF templates.Update Template DocsCreates or updates the documentation for a template (docs/<shortName>.md, README.md, readme-pkg.md, AGENTS.md version statements) so it matches the implementation. Use after a template or .NET version is added or changed, or when the user reports docs that are out of date. AGENTS.md requires docs to stay in sync with the code.