---
title: "Token Vault"
description: "1 posts about Token Vault, summarised, each linking to the original."
---

# Token Vault
> 1 posts about Token Vault, summarised, each linking to the original.

## Articles

### [Build an AI Wellbeing App with Fireworks and Fitbit via Auth0 Token Vault.](https://yomu.fyi/post/build-an-ai-wellbeing-app-with-fireworks-and-fitbit-via-auth0-token-va.md)
- Company: [Auth0](https://yomu.fyi/company/auth0.md)
- Author: Deepu K Sasidharan
- Published: Nov 2, 2026
- Type: Tutorial

Daily Wellbeing is a Next.js 16 and TypeScript app that reads Fitbit activity, sleep, and resting heart-rate data through the Google Health API v4 and uses Fireworks to suggest general wellbeing actions. Auth0 handles sign-in, while Token Vault stores the Fitbit authorization credentials and lets the server retrieve a token for the signed-in user. The app calculates a daily report for the latest completed day, compares it with recent averages, and keeps missing values marked as unknown. Users can review those readings without running inference and must explicitly choose to share the summary before Fireworks is called. The /api/advice route requires a valid session and an exact matching origin, rejects client-supplied readings or prompts, forces the summary tool on the first model step, then streams suggestions with tools disabled and thinking turned off.
