Menu

Post image 1
Post image 2
1 / 2
0

Your .env file should have one line

DEV Community·Arvin Gopi·30 days ago
#yrZGRZ7d
#webdev#ai#programming#localhost#token#custom
Reading 0:00
15s threshold

Every AI app I've shipped recently rewrote the same plumbing. The OAuth dance for Slack. Encrypted storage for an API key. Refresh-token logic that finally fails on the 3rd call after an hour. Wiring up an MCP client to a server behind a bearer token someone pasted into a Notion page. I'd write it, copy-paste it into the next app, watch it rot. Each new agent built by a different teammate, slightly differently, with slightly different bugs. We were a small team and the integration code became most of the code. ## The pattern under all of it Strip away the providers and the AI-specific bits, and every app needed the same four things from the platform: Env vars — a database URL, a Stripe key, the boring stuff. Not in a .env file in a Docker image. Not in a CI secret. Somewhere the app can ask for at runtime. Pre-built integrations — Gmail, Calendar, Drive. The user logs in once on the platform; every app gets typed access on their behalf. Custom OAuth — the providers no platform pre-builds.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More