Skip to content
Agents / Foundation

Server connector

An optional Node bridge for private credentials and endpoints without CORS.

Registry
Node server adapter
Install it on your backend and provide authentication, destination configuration and credential storage. See the connector guide.

Installation

  1. Add the registry entry to your app.

    npx shadcn@latest add @fabrials/server-connector

    Without the named registry, use the address: https://ui.fabrials.com/r/server-connector.json

API reference

Prop / exportTypeDescription
destinationsRecord<string, {endpoint}>Operator-controlled HTTPS endpoints.
allowedOriginsstring[]Accepted application origins.
authenticate(Request) => Promise<{id}|null>Authenticate every incoming request.
credentials(userId, destination) => Promise<{accessToken?}>Inject a token from your server-side store.

Behavior

Node-only. DNS answers are checked and pinned; redirects and private addresses are rejected. OAuth token acquisition/storage belongs to the host, which injects access tokens. No arbitrary URL proxy is exposed.

Accessibility

Keyboard and contrast
Keep visible labels, keyboard focus and status announcements when customizing. These components inherit your theme; maintain sufficient contrast in both color modes. The preview is keyboard operable.