Update OAuth provider plugin configuration

Updates the OAuth provider plugin configuration for Neon Auth.
Only the fields provided in the request body are updated; omitted fields retain their current values.
A provided resources list replaces the stored list.
A provided mcp object replaces the stored MCP configuration and must include resource.
The plugin can only be enabled on the project's root branch.

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
boolean

Whether the OAuth provider plugin is enabled.

string

URL of the page that authorization requests redirect to for sign-in.

mcp
object

MCP resource configuration. When provided, resource is required and the stored MCP configuration is replaced as a whole.

resources
array of objects

Protected resources that clients can be linked to. When provided, replaces the stored list.

resources
Responses

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