inai-nextjs-sdk
OfficialSeamless InAI Auth integration for Next.js.
AuthorInAI-Team
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Reduces the complexity of adding secure authentication, RBAC, MFA, and session management to Next.js apps by providing a ready-to-use InAI Auth integration with provider, middleware, API routes, and client/server helpers.
Core Features & Use Cases
- Provider: wrap your app with InAIAuthProvider to hydrate and manage auth state.
- API Routes & Middleware: automatic login/register/MFA/refresh/logout flows and route protection for both app users and platform admins.
- Server & Client Helpers: server(auth/currentUser/configureAuth) and client hooks for streamlined auth work.
Quick Start
Install the Next.js integration package and wrap your app with InAIAuthProvider to enable authentication flows.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: inai-nextjs-sdk Download link: https://github.com/InAI-Team/inai-auth-skills/archive/main.zip#inai-nextjs-sdk Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.