Skip to content
fabrials/ ui

Foundation

Server connector

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

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

Installation

Terminal
bunx shadcn@latest add https://ui.fabrials.com/r/server-connector.json

API

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 & compatibility

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

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 fully keyboard operable.