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.

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

The Neon project ID

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

The Neon branch 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