Getting Forge 2-legged Authentication Using Cross Request
I'm trying to create a simple html page to display a uploaded model to forge. For initialize the forge viewer it required the access-token. For request the access token I'm using t
Solution 1:
As you noticed, you cannot obtain a Forge Token via client-side scripting, it will throw this CORS error. This is by design.
I would recommend a simple server-side authentication, it's quite direct to deploy this sample locally:
- Install NodeJS
- Download the project
- Set the variables with your ID & Secret
- Run the project
Post a Comment for "Getting Forge 2-legged Authentication Using Cross Request"