Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the nextAuth API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with nextAuth API.
Enrol users into phishing-resistant MFA via QR-code or HTML flows
Sign high-value transactions cryptographically before they execute
Provision and configure nextAuth server tenants and their attributes
GET STARTED
For Agents
Provision nextAuth servers, enrol users via QR or HTML flows, manage accounts and roles, and sign sensitive transactions with phishing-resistant MFA. Best for security teams adding strong authentication to existing apps.
Use for: Enrol a new user into nextAuth via a QR code on the login page, Sign a wire transfer with the customer's nextAuth credential, List all active sessions on the production nextAuth server, Force logout of every session for a compromised account
Not supported: Does not handle SSO federation, password resets, or user directory sync — use for phishing-resistant MFA enrolment, session lifecycle, and transaction signing only.
Jentic publishes the only available OpenAPI specification for nextAuth API, keeping it validated and agent-ready. nextAuth is a phishing-resistant multi-factor authentication platform that uses smartphone-bound cryptographic keys for login, transaction signing, and user enrolment. The 55-endpoint server-management API lets administrators provision servers, manage accounts and roles, run QR-code and HTML enrolment flows, sign transactions, and read session and audit data. This is the management-plane variant of the nextAuth API used by integrators provisioning and operating the service.
Manage accounts, roles, and permissions per server
Provoke a login from the server side to step up an existing session
Read active sessions and force logout for incident response
Patterns agents use nextAuth API for, with concrete tasks.
★ Phishing-Resistant MFA Enrolment
Add strong, hardware-backed MFA to an existing web or mobile app by enrolling users via QR-code or HTML flow endpoints. The /servers/{serverid}/sessions/qr/enrol and /sessions/html/enrol endpoints return the artefacts the front end shows the user; once scanned or completed, the user is bound to a smartphone credential immune to credential-phishing replays. Adds compliance-grade MFA in days rather than months versus building a WebAuthn flow from scratch.
Call GET /servers/{serverid}/sessions/qr/enrol to fetch a QR payload and present it on the user's signup screen for nextAuth enrolment.
Cryptographic Transaction Signing
For high-value actions such as wire transfers, configuration changes, or admin elevation, push the operation through nextAuth's transaction-signing flow so the user authorises it on their bound device. POST /servers/{serverid}/sessions/transactions creates the signing request and returns a signature the server can verify. Replaces SMS OTP and shared-secret approval steps with a phishing-resistant cryptographic confirmation.
Submit a wire transfer of $25,000 to POST /servers/{serverid}/sessions/transactions and only execute it if the returned signature verifies.
Account and Role Administration
Manage accounts, roles, attributes, and privileged attributes per server tenant for multi-tenant SaaS deployments. The /servers/{serverid}/accounts and /servers/{serverid}/permissions/{roleid} endpoints support listing, updating, and deleting accounts and role permissions, and the privileged-attribute paths control sensitive metadata that only privileged roles can read. Ideal for B2B platforms that resell nextAuth to their own customers.
List all accounts on server ID 9 via GET /servers/{serverid}/accounts and revoke any account that has not logged in for 90 days.
Incident Response Session Lockdown
When a compromise is suspected, security teams can list active sessions, force logout users, and provoke fresh authentication on next access using the /sessions endpoints. POST /servers/{serverid}/sessions/logout invalidates a session, and POST /servers/{serverid}/sessions/provokelogin forces a step-up on the next request. Saves coordinating with each downstream app to invalidate cookies during an incident.
On a security alert, call POST /servers/{serverid}/sessions/logout for every session belonging to the suspected-compromised account.
AI Agent Authentication Co-Pilot
Wire nextAuth into an AI agent through Jentic so the agent can enrol users, list sessions, and trigger step-up flows on demand. Through Jentic's intent search the agent picks the right operation from 55 endpoints without reading the spec, and the X-apikey header is held server-side. Lets security teams expose self-service MFA management to a chat agent without leaking admin credentials into the chat surface.
Search Jentic for 'enrol a nextAuth user' and execute the QR enrol endpoint on behalf of a support agent helping a new employee set up MFA.
55 endpoints — jentic publishes the only available openapi specification for nextauth api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/servers/{serverid}/sessions/qr/enrol
Generate a QR enrolment payload for binding a new user device
/servers/{serverid}/sessions/html/enrol
Return an embeddable HTML enrolment flow
/servers/{serverid}/sessions/transactions
Create a cryptographic transaction-signing request
/servers/{serverid}/sessions/logout
Force logout of a session
/servers/{serverid}/sessions/provokelogin
Provoke a step-up login on the next request
/servers/{serverid}/accounts
List accounts attached to a server tenant
/servers/{serverid}/sessions
List active sessions on a server
/apikeys
List API keys provisioned for the management API
/servers/{serverid}/sessions/qr/enrol
Generate a QR enrolment payload for binding a new user device
/servers/{serverid}/sessions/html/enrol
Return an embeddable HTML enrolment flow
/servers/{serverid}/sessions/transactions
Create a cryptographic transaction-signing request
/servers/{serverid}/sessions/logout
Force logout of a session
/servers/{serverid}/sessions/provokelogin
Provoke a step-up login on the next request
Three things that make agents converge on Jentic-routed access.
Credential isolation
nextAuth X-apikey and X-su headers are stored encrypted in the Jentic vault. Agents call the API through Jentic's execution layer, which injects the headers server-side, so admin keys and role IDs never enter agent prompts or model context.
Intent-based discovery
Agents search by intent (e.g., 'enrol a user into nextAuth') and Jentic returns the matching operation from 55 endpoints with its parameter schema, so the agent does not need to read the spec.
Time to first call
Direct nextAuth integration: 1-2 weeks for QR enrolment, transaction signing, and webhook verification. Through Jentic: under 1 hour for the first enrolment call.
Alternatives and complements available in the Jentic catalogue.
nextAuth API (alternate slug)
Companion nextauth-api spec covering the same operations under a different slug
Use the nextauth-api variant when your import pipeline expects the nextauth-api slug rather than the main slug.
Specific to using nextAuth API through Jentic.
Why is there no official OpenAPI spec for nextAuth API?
n-auth.com does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call nextAuth API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the nextAuth API use?
The nextAuth management API uses an API key in the X-apikey header, plus an X-su header carrying a role ID for privileged operations. Both are defined as apiKey schemes in the spec. Through Jentic, both headers are stored encrypted in the vault and injected at execution time.
Can I enrol a user into nextAuth MFA with this API?
Yes. Use GET /servers/{serverid}/sessions/qr/enrol for QR-code enrolment or GET /servers/{serverid}/sessions/html/enrol for an embeddable HTML flow. Both return artefacts the front end presents so the user can bind their smartphone credential.
How does transaction signing work in nextAuth?
POST /servers/{serverid}/sessions/transactions creates a transaction-signing request the user approves on their bound device. The response carries a cryptographic signature the relying server verifies before executing the underlying action, replacing SMS OTP for high-value approvals.
What rate limits apply to the nextAuth API?
Rate limits are not declared in the spec. Treat the API as moderately rate-limited, implement exponential backoff on HTTP 429, and contact n-auth support for committed throughput before running large account-management or session-listing batches.
How do I trigger nextAuth enrolment from an AI agent through Jentic?
Install the Jentic SDK with pip install jentic. Use SearchRequest with a query like 'enrol nextAuth user via QR' to surface GET /servers/{serverid}/sessions/qr/enrol, LoadRequest for its schema, and ExecutionRequest to call it. Get an agent API key at https://app.jentic.com/sign-up.
/servers/{serverid}/accounts
List accounts attached to a server tenant
/servers/{serverid}/sessions
List active sessions on a server
/apikeys
List API keys provisioned for the management API