Hey, i'm building an integration that syncs my platform with Vercel. But I have some trouble on how to get the access tokens...
I've created a custom integration on Vercel and managed to authenticate my app with Vercel and get an access token by providing the code I got from the OAuth2 callback. With this access token I can succesfully make requests to the REST API of Vercel.
My question is: how to get a new access token when the user wants to sync their app data to Vercel? Do I need to save the access token I got from the callback and use that? If so, how is this secure? And when does it expire?
Thanks for helping me, I am new to the Vercel API but I couldn't find this in the docs.