Skip to content

Updated Tinybird config and instructions for using JWTs#18

Merged
jloh merged 4 commits into
mainfrom
update-tinybird-config-jwts
Jul 14, 2025
Merged

Updated Tinybird config and instructions for using JWTs#18
jloh merged 4 commits into
mainfrom
update-tinybird-config-jwts

Conversation

@cmraible
Copy link
Copy Markdown
Contributor

@cmraible cmraible commented Jul 10, 2025

We've switched from using the static stats_token to generating dynamic JWTs for querying Tinybird's endpoints. The workspace ID and admin token are required to sign the JWTs, so we need to add those to the configuration. The stats token is no longer used, so this also removes it.

It also adds the labs flag via config to allow enabling analytics in the .env file, instead of requiring the user to enable it in the UI.

@cmraible
Copy link
Copy Markdown
Contributor Author

Pretty sure this is everything we need, just waiting on Tinybird to enable the JSON field on my workspace to test it out tomorrow.

@jloh jloh force-pushed the update-tinybird-config-jwts branch from 02a8203 to 215794e Compare July 10, 2025 04:35
@cmraible cmraible marked this pull request as ready for review July 11, 2025 03:15
@cmraible cmraible requested a review from jloh July 11, 2025 03:16
@jloh jloh force-pushed the update-tinybird-config-jwts branch from 9aa4b81 to d78809c Compare July 14, 2025 04:52
@jloh jloh force-pushed the update-tinybird-config-jwts branch from d78809c to 018514d Compare July 14, 2025 05:02
@jloh jloh merged commit e994f88 into main Jul 14, 2025
1 check passed
@jloh jloh deleted the update-tinybird-config-jwts branch July 14, 2025 06:21
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.

2 participants