Skip to content

Remove password authentication and Tinybird deployment workflows - #213

Closed
rmorehig wants to merge 3 commits into
mainfrom
fix/remove-password-auth
Closed

rmorehig wants to merge 3 commits into
mainfrom
fix/remove-password-auth

Conversation

@rmorehig

@rmorehig rmorehig commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

The dashboard no longer supports password/session authentication. Access requires the caller's Tinybird token and host; deployment credentials are never used as a fallback.

This follows merged #212 and preserves its host validation, UI-to-API origin mapping, explicit allowed-origin configuration, and removal of the unused /api/sql route. Remove the password form, auth endpoints, session library, cookie middleware, and DISABLE_AUTH bypass. Update the README, changelog, and environment example for token-only access. TINYBIRD_HOST remains an optional allowed origin, never a credential fallback.

Validation: production build, lint (existing Card.tsx effect warning), credential-policy unit tests, and production-server integration tests passed. With dummy deployment credentials, password settings, and DISABLE_AUTH=true set, both remaining data routes reject forged cookies and incomplete credentials; auth/SQL routes return 404; unapproved hosts are rejected; approved origins receive only the caller's token. Weakening the missing-credential guard made the unit test fail. Code-quality and thermo-nuclear review through P3 found no remaining actionable issues. Visual verification remains unavailable because local browser use is disabled.

Remove the Tinybird CI/CD workflows (tinybird-ci.yml and tinybird-cd.yml), including their Tinybird build, preview-branch, and production-deploy steps. Dashboard/tracker lint and build checks, credential-isolation tests, and the npm release workflow remain. The separate Tinybird CI job previously failed with 403 Forbidden while fetching/creating its branch. Previously exposed credentials still require rotation/revocation.

@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
analytics-dashboard Ready Ready Preview Nov 3, 2026 12:50pm UTC

@rmorehig rmorehig changed the title Remove compromised dashboard password authentication Remove password authentication and Tinybird deployment workflows Nov 3, 2026
@rmorehig rmorehig closed this Nov 3, 2026

This branch was successfully deployed

1 active deployment
Preview — 0e1deaed Deployed Nov 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant