Neon Auth
Neon Auth is a managed authentication service built on Better Auth that connects directly to a Neon Postgres database. It stores authentication data including users, sessions, and OAuth configurations in the database's neon_auth schema. Neon Auth provides client and server SDKs, supports multiple OAuth providers, and integrates with the Neon Data API for automatic JWT validation. It enables Row-Level Security policies through the auth.uid() function, allowing developers to implement fine-grained data access control based on authenticated users.
Neon Auth is one of 13 APIs that Neon publishes on the APIs.io network, described by an AsyncAPI event-driven specification.
Tagged areas include Authentication, Authorization, OAuth, JWT, and Security. The published artifact set on APIs.io includes API documentation and an AsyncAPI specification.
This event API exposes 1 operation across 1 channel, and defines 6 schemas. It is described by AsyncAPI 2.6.0, at version 1.0.
The API connects through a single server, {webhookUrl} (https).
Metadata
The identity and technical contract details declared by the specification.
Channels & Operations 1
Across 1 channel, the API surfaces 1 operation. Each is listed below with its action, channel, parameters, and response codes.
Messages & Schemas 6
The contract defines 6 schemas that model the data carried by its messages. The most detailed are MagicLinkDeliveryPayload (6 properties), OtpDeliveryPayload (5 properties), UserCreatedPayload (3 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable AsyncAPI contract behind this narrative.
Source
More from Neon 12
Other APIs Neon publishes across the network.