Visit Autodesk Forge Portal, sign up and create an app.
Then, use http://localhost:3000/api/forge/callback/oauth
as the Callback URL, although it is not used on a 2-legged flow. In the end take a note of the Client ID and Client Secret.
FORGE_CLIENT_ID="Your Forge Client ID"
FORGE_CLIENT_SECRET="Your Forge Client ID"
PORT=3000
FORGE_CALLBACK_URL=http://localhost:3000/api/forge/callback/oauth
To run the program locally, use the following command:
Install dependencies with:
npm install
Run locally :
npm start