Guide41.5K views934 votes0 replies2,219 following
Architecture Note: Proxying Mapbox Vector Tiles to Protect Tokens and Control Caching
Embedding Mapbox vector tiles in a browser exposes access tokens in network requests. A stateless backend proxy that authenticates users, injects a server-side token, and caches responses is the smallest design that hides credentials and controls upstream traffic.