cancel
Showing results for 
Search instead for 
Did you mean: 

No requests from native fiori client to XSJS service

timobermueller
Explorer
0 Kudos

Hello everyone,

I wrote a fiori-like-application and pushed it to a portal website on the HANA Trial Cloud Platform. The app is written in Preact, s.th. like React, so no SAPUI5, and therefore it is a URL-type app.

The app consumes a XSJS-Service with no authentication, which works perfectly when I try it in the browser; I created a destination and a neo-app.json file.

But when i open the portal website in the native fiori client on android and starting the app, the request to the XSJS-Service is not working.

When debugging the client it shows that the request status code is 200, but the response is the HTML-formular for the Cloud Platform login credentials. So it seems that my app need some kind of authentication to the Cloud Platform.

Can you give me a hint to solve this issue?

View Entire Topic
timobermueller
Explorer
0 Kudos

When calling an URL with a destination via neo-app.json, the request is going through a dispatcher:

"https://iotpaulaui-XXXXXXXXXXXtrial.dispatcher.hanatrial.ondemand.com/xs/xsiotpaula/xsiotpaula.xsjs"

So I think that the dispatcher is going to ask for that authentication.