synthesis icon indicating copy to clipboard operation
synthesis copied to clipboard

Exporter APS Authentication

Open PepperLola opened this issue 1 year ago • 1 comments

Changes:

  • Palette to get authorization code for Autodesk account
  • Fetches code and refreshes automatically once expired
  • Shows first name in a new tab in the main exporter panel (temporary)

[!WARNING] I haven't yet tested refreshing the token once it's expired. The web request works though and gets a different access token than before.

[!IMPORTANT] This branch must be tested while running the server through the Docker container, because some authorization logic happens on the server side.

PepperLola avatar Jun 27 '24 22:06 PepperLola

Chorus detected one or more security issues with this pull request. See the Checks tab for more details.

As a reminder, please follow the secure code review process as part of the Secure Coding Non-Negotiable requirement.

autodesk-chorus[bot] avatar Jun 27 '24 22:06 autodesk-chorus[bot]

@PepperLola Something to note: I forgot to switch the server branch over so I ran into an issue. That being said, after getting the issue, there isn't any way for me to reset the aps login process without restarting the addin. Could we have to detect an error and then automatically reset?

HunterBarclay avatar Jul 03 '24 05:07 HunterBarclay

@PepperLola I get this page in the palette, and then nothing further:

image

HunterBarclay avatar Jul 03 '24 05:07 HunterBarclay

It does appear to successfully login, however.

image

HunterBarclay avatar Jul 03 '24 05:07 HunterBarclay