petrbroz / aps-sdk-node

Tools for accessing Autodesk Forge APIs from modern Node.js apps.
https://petrbroz.github.io/forge-server-utils/docs/index.html
34 stars 19 forks source link

OAuth2 v1 to v2 #46

Closed stonesthatwhisper closed 5 months ago

stonesthatwhisper commented 6 months ago

Is there a plan to move to oauth v2? I was alerted about this blog post: https://aps.autodesk.com/blog/authentication-v2-and-deprecation-v1

petrbroz commented 6 months ago

There is a new, official Node.js/TypeScript SDK that's currently in beta but will be stabilized soon. That SDK will offer various benefits over forge-server-utils, for example, it will be easier to maintain and extend in the future as it's being auto-generated from OpenAPI specs. As soon as it's ready to use (which should be really soon), I would archive this project and point to the official SDK instead.

stonesthatwhisper commented 5 months ago

Thanks for the pointer @petrbroz. However, that official SDK does not have support for DesginAutomation, which we use forge-server-utils for. Will the official SDK support designautomation before the v1 to v2 deadline? edit: perhaps we will have to use both at the same time.

petrbroz commented 5 months ago

Hi @stonesthatwhisper, you're right, the official SDK is missing Design Automation APIs, and some other useful functionality that I depend on in my other projects, too. So for now I've updated this unofficial SDK to use Auth v2. I've also rebranded the library from Forge to APS. You can now install it from NPM using npm install aps-sdk-node or yarn add aps-sdk-node.