v1

latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KB
Auth (legacy)

Create Neon Auth integration

DEPRECATED, use /projects/{project_id}/branches/{branch_id}/auth instead. Creates a project on a third-party authentication provider's platform for use with Neon Auth. Use this endpoint if the frontend integration flow can't be used.

post/projects/auth/create

Request body

auth_provider'mock' | 'stack' | 'better_auth' required
project_idstring required
branch_idstring required
database_namestring
role_namestring

Response

Creates Neon Auth integration

auth_provider'mock' | 'stack' | 'better_auth' required
auth_provider_project_idstring required
pub_client_keystring required
secret_server_keystring required
jwks_urlstring required
schema_namestring required
table_namestring required
base_urlstring