Hey @miguelcabs,
I want to use the Vercel REST API (No SDK) with a custom integration.
My current setup:
- Redirect user to https://vercel.com/integrations/MY-APP/new
- User clicks ‘Add integration’ in Vercel
- Vercel redirects user to https://my-app.com/vercel/callback?code=ABCDEF&state=ABCDEF
- I exchange it for an access token using https://api.vercel.com/v2/oauth/access_token
- When that is done, show confetti

- After some time, I need access to their projects (to do my business logic). How to authenticate my backend with the vercel API. Because the
codefrom the callback isn’t valid anymore. Do I need to save the access token in my backend? This doesn’t seem secure?
Is this more clear? In the docs I find a lot on manual access tokens the user needs to generate themselves in the Vercel dashboard but is this really needed? I would like it to just be ‘add integration’ and that’s it.