Skip to main content

Authentication

Forecast should expose one external auth story even though the current internals use multiple mechanisms.
Use API keys for public, paid, and trial market-data access.

Example header

Internal reality today

The current stack already uses:
  • Supabase JWTs for user-scoped product routes
  • engine admin secrets for server-to-server proxying
  • service credentials for lake and infrastructure access
That is acceptable internally, but public docs should not mirror that complexity.

Recommendation

Standardize the external contract to:
  • one API key pattern for data products
  • one user-token pattern for workspace APIs
Keep engine secrets and infrastructure credentials out of customer documentation entirely.