v1

latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KB
Auth

Enable Neon Auth for the branch

Enables Neon Auth for the specified branch by connecting it to an authentication provider. Creating the integration provisions the neon_auth schema in the branch database, which stores user identity data synchronized from the provider.

post/projects/{project_id}/branches/{branch_id}/auth

Request body

auth_provider'mock' | 'stack' | 'better_auth' required
database_namestring

Response

Enables Neon Auth integration for the branch

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