v1

latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KB
Auth

Add an OAuth provider

Adds an OAuth provider configuration to the specified branch's Neon Auth integration. After adding, users can authenticate using the configured provider.

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

Request body

id'google' | 'github' | 'microsoft' | 'vercel' required
client_idstring
client_secretstring
microsoft_tenant_idstring

Response

The OAuth provider has been added to the project

id'google' | 'github' | 'microsoft' | 'vercel' required
type'standard' | 'shared' required
client_idstring
client_secretstring