GET
/projects/{project_id}/auth/domainsList trusted redirect URI domainsDeprecated. Use /projects/{project_id}/branches/{branch_id}/auth/domains instead. Removal scheduled for March 1, 2026.
Parameters
project_idstringpathrequiredThe Neon project ID
Responses
objectNeonAuthRedirectURIWhitelistResponse
domainsarray of objectrequiredDomains permitted as redirect URI targets in the whitelist.
Show child attributes
Show array items
auth_providerstringrequiredAuthentication provider integrated with this Neon Auth configuration. `better_auth` integrates with Better Auth (the current, recommended provider). `stack` integrates with Stack Auth (deprecated). `mock` is a simulated provider for local development and testing only.
domainstringrequiredAllowed redirect URI domain for the auth provider.
{
"domains": [
{
"auth_provider": "better_auth",
"domain": "string"
}
]
}objectGeneralError
codestringrequiredmessagestringrequiredError message
request_idstringUnique identifier for the request, useful for debugging. You can set this value manually by including an `X-Request-ID` header in the request. If not provided, the value will be generated automatically.
{
"code": "",
"message": "string",
"request_id": "string"
}