API Token Generator
Token generator for minting Webflow OAuth tokens for personal use (eg. automation)
Instructions
- Create a new Vercel project
- Import this repo
- Keep all settings as default
- Add three environment variables
WEBFLOW_CLIENT_ID
- your v1 App's client idWEBFLOW_SECRET
- your v1 App's client secretTOKEN_ENDPOINT_URL
- set this tohttps://api.webflow.com/oauth/token
- Hit deploy
- In your Webflow Workspace Settings, update your v1 App's redirect URI to
abc.vercel.app/api/token
- replace
abc
with your Vercel project URI
- replace
- Share the following link with users to get a token:
https://webflow.com/oauth/authorize?client_id=xyz&response_type=code
- replace
xyz
with your Webflow App client id
- replace
Notes
- If you make code changes, please re-run
npm install
andnpm run build
inside of/api