Repository navigation
Fix host override and add session validation - #212
Merged
rmorehig merged 2 commits intoNov 3, 2026
Merged
Conversation
…idate signed sessions Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The route ran arbitrary SQL with the server TINYBIRD_TOKEN and had no callers since the hooks moved to pipes. Removing it means the server token is only used for the fixed dashboard pipes and workspace lookup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rmorehig
approved these changes
Nov 3, 2026
rmorehig
deleted the
bugfix/dashboard-host-override-and-session-validation
branch
November 3, 2026 12:31
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tightens how the dashboard handles the server-side Tinybird token and session auth.
Changes
Tinybird host handling
TINYBIRD_TOKENis now only ever sent to the configuredTINYBIRD_HOST. Previously, a request could supply its own host viaX-Tinybird-Hostand the server token would be used against it.https://api.*.tinybird.co),TINYBIRD_HOST, or listed in the new optionalTINYBIRD_ALLOWED_HOSTS.resolveTinybirdCredentials()inlib/server.tsinstead of being duplicated per route.Removed
/api/sqlquerySQL()and theQuerySQLtype are removed with it.Sessions
DASHBOARD_PASSWORDinvalidates existing sessions.Breaking change
admin/admindefault credentials are removed. Username/password login requiresDASHBOARD_PASSWORDto be set (DASHBOARD_USERNAMEstill defaults toadmin).