ProfessorGPTProfessorGPT
Auth0
Auth0Auth0· v1.0.0
codingOfficial
Official Provider SkillView repo

Multi-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.

Files1 files
SKILL.md167 lines
Loading editor…

Install

Recommended

One command — your agent picks it up automatically.

Select an AI agent above to see the install command.

or

Manual Install

More steps

Download the file and paste it into your agent's system prompt.

Skill details

Versionv1.0.0
AuthorAuth0
Categorycoding
Skill IDauth0/nextjs-auth0/skills/mfa

Related skills

Nextjs Auth0Add 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.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.