I am new to this topic. I have deployed my app to Azure (following the tutorial from Autodesk). When I try to press to the login to BIM360 is return an error 500 (internal Server Error). I have changed the FORGE_CALLBACK_URL = "htttp://forgeSample1234.azurewebsite.net/api/forge/callback/oauth" The code has no problem when in localhost.
Does anyone has the same problem?
CodePudding user response:
Please note that when updating the callback URL, you actually have to change it in two places:
- in your code (that's typically the
FORGE_CALLBACK_URL
) - in your Forge app page in https://forge.autodesk.com/myapps
And of course, the URL has to match exactly in both places.
Also, it looks like there might be a typo in your URL: you say htttp
instead of http
, and I'm also wondering if you shouldn't be using https
?