Add an OAuth provider

Deprecated. Use /projects/{project_id}/branches/{branch_id}/auth/oauth_providers instead. Removal scheduled for March 1, 2026.

Path Params
string
required
^[a-z0-9-]{1,60}$

The Neon project ID

Body Params
string
enum
required

OAuth provider to configure for Neon Auth. Known values: google, github, microsoft, vercel.

Allowed:
string

The client ID issued by the OAuth provider for your application. Used to identify the application during the OAuth flow.

string

OAuth client secret for the provider.

string

Tenant ID for the Microsoft OAuth provider. Only relevant when the OAuth provider is Microsoft; omit or leave blank for other providers.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json