The dedicated authentication app for FunderMaps — auth.fundermaps.com.
A small Vue 3 + Vite + TypeScript SPA that owns the generic auth surface for the whole fleet: login, forgot-password, reset/set-password, sign-out. It is the OIDC authorization server's UI: every first-party FunderMaps frontend (WebFront, Report, ClientApp, ManagementFront) is a trusted OIDC client and redirects unauthenticated users here. Because all clients are first-party and trusted, there is no consent screen.
It talks to the FunderMaps TS API's Better Auth endpoints
(${VITE_FUNDERMAPS_URL}/api/auth/*); it has no backend of its own.
pnpm dev— dev serverpnpm build— type-check + production buildpnpm type-check—vue-tscpnpm preview— preview the production build
Copy .env.example to .env:
VITE_FUNDERMAPS_URL— base URL of the FunderMaps TS API (no trailing slash).
Served as a static site from auth.fundermaps.com (a separate app from the
API). The subdomain was previously an alias of the FunderMaps API; the API now
lives only on api.fundermaps.com, freeing auth. for this app.
Required deploy config:
- This app's
VITE_FUNDERMAPS_URL=https://api.fundermaps.com. - The API's
TRUSTED_ORIGINSmust includehttps://auth.fundermaps.com(so this app can call/api/authand useredirectTo/callbackURL, e.g. the password-reset link).
Vue 3 + Vite 8 + vue-router 5 + TypeScript 6 + Tailwind 4 (@tailwindcss/vite),
pnpm — aligned with the rest of the FunderMaps frontend fleet.