petrbroz / bim360-issue-editor

Prototype application for bulk-editing BIM 360 issues using Autodesk Forge APIs.
https://bim360-issue-editor.autodesk.io
MIT License
9 stars 11 forks source link

400 - Invalid redirect_uri #28

Closed iEzzat189 closed 1 year ago

iEzzat189 commented 1 year ago

Basically thank you for this amazing tool.

I'm getting the below error since long time when I try to sign in. However, I'm the account admin of the hub. could you please advise.

image

iEzzat189 commented 1 year ago

Hi,

Now I'm getting a different message as in the below snapshot, However I have around 60 project under that account.

image

petrbroz commented 1 year ago

Hi @iEzzat189,

I apologize for the troubles. I've added the correct callback URL to the demo app, so login should now work as expected.

To your second comment: if you want to see your projects in this demo app, you'll need to register it as "custom integration" in your account: https://knowledge.autodesk.com/support/bim-360/learn-explore/caas/CloudHelp/cloudhelp/ENU/BIM360D-Administration/files/About-Account-Admin/GUID-0C83B441-C611-4574-8DA0-45D5CFC235FA-html.html.

iEzzat189 commented 1 year ago

Hi Petrbroz,

I appreciate your support. It is now working.

My second issue was caused by the change in the Forge Client ID. I was using the old one in the first snapshot. However, when I changed it to the updated one in the second snapshot, it worked fine. I believe that updating the ID in the documentation would be very helpful.

image

image

petrbroz commented 1 year ago

Ah I see, yes, we'll need to update the client ID in the readme. Thank you!