Skip to Content
Aug 19, 2018 at 08:56 PM

How can I authenticate at HANA XS UAA service from Matlab?

596 Views Last edit Aug 19, 2018 at 09:11 PM 3 rev

We are developing a SAP UI5 application using SAP HANA XS as backend and we need to upload data directly from an external Matlab application. I made all provisions to receive and store the data in the server code (node.js), which works when the authentication layer (JWT, passport) is disabled.

My understanding is that the Matlab routine needs to request an authentication token first at the HANA UAA service and then proceed to the data upload endpoint I implemented.

Could you help me on the following issues:

  • How do I retrieve the URL of the HANA UAA service endpoint in my deployed application? (When I access the application in the browser, I'll be directed to a login page automatically)
  • Is there a tutorial or reference implementation describing an external server or application requesting a token from the UAA service? (Matlab provides all basic HTTP requests)