Skip to Content

Consume on-prem services in sapui5 app without having XSUAA login

Is there possibility to access on-prem services in SAPUI5 having no authentication but still I wanted to connect on-prem services. [ "authenticationMethod": "none" ]

I tried to access application without login but throwing me error while accessing services as "Invalid Proxy-Authorization header"


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 07 at 11:49 AM

    Hi Prashant,

    Your issue is not due to XSUAA. It looks like you were successful disabling XSUAA but failed on using the connectivity service.

    You need to make sure that you have setup the destination and connectivity service (and cloud connector) correctly.

    I have a blog about consumption of external service via app router. You will need this, but you have to manage on your own setting up the cloud connector and connectivity service.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Prashant,

      Are you using HTML5 App Repo service to host your UI5 app?

      Go to the xs-app.json file of your UI5 app and change the routing config to below:

        "routes": [
            "source": "^(.*)$",
            "target": "$1",
            "service": "html5-apps-repo-rt",
            "authenticationType": "none" // <-- disable the UI5 app authentication

      Keep the UAA authentication on and you will get the results you want.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.