Reputation: 1
I cannot get the Design Automation sample to work. I have followed the instructions and have everything set up to include my CLIENT_ID and _CLIENT_SECRET yet, i get a token error. I stepped through the solution and it errors when trying to authenticate with a response of 'unauthorised'.
There is a little confusion on whether i am to use FORGE or APS, even though FORGE created apps sort of end up in my APS account. I wanted to confirm the callback url for authorisation but thats impossible to find.
Instead of directing us to an older version of a Github solution, maybe you could clarify amy of the missing details in your documentation and update the solutions to at least reference APS instead of FORGE and bring it up to Net 8...
Even on the APS site is clearly says to 'always add the autodesk-platform-services' tag but when posting, that tag doesnt exist and only the FORGE one does.. Get up to date guys
I added my app credentials but still cannot get authorised. I have created 2 test apps and neither work
Thanks
Upvotes: -1
Views: 31
Reputation: 2160
Autodesk Platform Services (APS) used to be called Forge and both names refer to the same thing.
Here is the tutorial:
https://get-started.aps.autodesk.com/tutorials/design-automation/
Which in the case of .NET takes you here:
https://github.com/autodesk-platform-services/aps-design-automation-dotnet
We started creating new SDKs and the other tutorials are using it, but those SDKs do not cover Design Automation just yet - so instead of mixing the old and new SDKs, we use the old ones for this tutorial at the moment.
You don't need to worry about Callback URLs because this tutorial is using 2-legged authentication that does not require that.
You can just download the full source code of the tutorial from the above mentioned URL and follow this readme to provide the APS credentials (Client ID and Client Secret) at the right places:
https://github.com/autodesk-platform-services/aps-design-automation-dotnet/tree/master/designAutomationSample
Upvotes: 0