These are the results obtained:
- Getting data from VC via Postman: OK;
- Getting data from VC via Node JS libraries: OK;
- Getting data from VC pasting the URL in the browser address bar: OK;
During the authentication process I first get a 401 error as expected.
The problem is that I can't access the www-authenticate response header in which there are all the data needed to complete the authentication.
After many reaserches, i got to the conclusion that the browser CORS policy is the reason why this happens.
The solution is probably in the usage of the "Access Control Expose Headers" in the response comeing from the controller.
This implies that you should get access to the server-side code (inside the robot controller) and it's quite impossibile I think.
I think RWS are a great opportunity to develop something that probably other competitors in the robotics field can't, and for this reason ABB should give much more efforts to support developers.
Has anyone solved or at least experienced this problem? Any suggestion, information or link to documentation would be really appreciated.
Thanks in advance for anyone who will try to help.
- 9.7K All Categories
- 5K RobotStudio
- 317 UpFeed
- 4 Tutorials
- 269 PowerPacs
- 401 RobotStudio S4
- 3 RobotStudio AR Viewer
- 572 RAPID Programming
- 8 Wizard Easy Programming
- 2.4K Robot Controller
- 147 IRC5
- 23 OmniCore
- 5 RCS (Realistic Controller Simulation)
- 1.7K Developer Tools
- 224 ScreenMaker
- 84 Collaborative Robots