on 07-07-2020 8:06 AM
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"
Thanks.
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.
https://blogs.sap.com/2020/06/20/consume-external-service-using-application-router/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi jhodel18
Thank you for you input, yes correct I'm not able to consume on-prem services, if i disabled log in for ui5 app.
FYI, If I enable log in for my ui5 app, then its works perfectly ok. that means my connectivity & destination & CC are correct.
But I don't wanted enable log in for my ui5 app, I want it public and still wanted to consume on-prem services, any suggestions?
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.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.