Hi Vercel team,
I am building DeployGoat, an Android app (iOS to follow) for developers who run on Vercel and Supabase. It lists a team's projects with their latest deployments, shows build logs, sends an alert when a build fails, and lets the developer redeploy, cancel, promote or roll back from the phone. Every action that changes something is stated in plain words and confirmed with a fingerprint on the device.
App: DeployGoat. Client ID: cl_ymQeTwICfVPDifxBpqeFNTvd1k04j5IC
Use case: a monitoring and control client for the account's own developer. Mostly read-only, with four actions on deployments and one webhook a team for build alerts.
Permissions asked for:
- User and Teams, read: who is signed in and which teams to list.
- Projects, read: the list, one project, its domains.
- Deployments, read and write: the feed, one deployment, build and runtime logs; redeploy, cancel, promote, roll back.
- Environment variables, read: the names, and one value when the user asks for it, which is also how the app finds the Supabase project a Vercel project uses.
- Webhooks, read and write: to create and remove the one webhook that carries deployment events to the app's push relay.
Why access tokens are not enough: today the user makes a token in the dashboard and pastes it into the phone. A token is scoped to an account, a team or a project, but not by resource and not by read or write, so the phone holds more access than the app uses, for as long as the token lives. With these permissions the user would grant exactly the list above, read it on the consent screen and revoke it in one place, and the phone would hold a grant that can be refreshed, not a long-lived secret typed by hand. The app is an unofficial client, says so, and uses no Vercel branding.
I can give more detail or a test build. Thank you.
Codegoat