Skip to main content

Endpoints

The endpoints block sets where callers and browsers reach the OAuth server. The OAuth server runs in your Trust Domain Servers, and Defakto publishes this address in the OAuth server's discovery metadata, so that clients such as MCP clients can find its endpoints.

endpoints:
publicBaseURL: https://td-server.defakto.example.com

Fields​

FieldRequiredDescriptionExample
publicBaseURLWhen you host your own Trust Domain ServersThe address where you host your Trust Domain Servers, as callers and browsers reach it. If Defakto hosts your Trust Domain Servers, leave it out. It must be an https URL. It can be on a public or a private network. It may include a path, but must not end in /oauth.https://td-server.defakto.example.com

Derived URLs​

Defakto derives three URLs from publicBaseURL:

URLPurpose
<publicBaseURL>/oauth/tokenThe token endpoint, for every flow
<publicBaseURL>/oauth/authorizeWhere an OAuth client sends a person's browser to sign in
<publicBaseURL>/oauth/upstream-callbackWhere your identity provider sends the browser back after sign-in.