FORGE_CLIENT_ID- your Forge application client IDFORGE_CLIENT_SECRET- your Forge application client IDFORGE_SCOPES- space-separated list of access scopes (for example,viewables:read bucket:create bucket:read data:read data:create data:write code:all)FORGE_HOST- URL of the Forge servers (typicallyhttps://developer.api.autodesk.com)BUCKET- name of OSS bucket to use in various data management service requests
The 2-legged authentication is handled automatically via a "prerequest script".
Whenever you make a request that expects a 2-legged token, the prerequest script
will check whether there's an ACCESS_TOKEN env. variable and whether the token
is still valid, and if not, it will will update the env. variables automatically.