Auth

Retrieve localhost allow setting

Retrieves the localhost allow setting for the specified branch's Neon Auth integration. When enabled, authentication flows work from localhost without adding it to the redirect URI whitelist.

get/projects/{project_id}/branches/{branch_id}/auth/allow_localhost

Request

  • Base URL: https://console.neon.tech/api/v2
  • URL: https://console.neon.tech/api/v2/projects/{project_id}/branches/{branch_id}/auth/allow_localhost
  • Auth: one of:
    • HTTP bearer
    • API key in cookie zenith
    • API key in cookie keycloak_token

Response

The allow localhost configuration

allow_localhostboolean required

Whether to allow localhost connections

Changes

No recorded changes to this operation across all 15 revisions of this API.