Skip to Content

Disable XSUAA Authentication in SAP Cloudfoundry

How to remove/disable the XSUAA authentication in SAP CF ?

On xs-app.json:

{
  "authenticationMethod": "route",
  "routes": [
    {
      "source": "/",
      "target": "/",
      "destination": "nodeBackend1",
      "csrfProtection": false,
      "authenticationType": "none"
    }
  ]
}

The destination nodeBackend1 is the destination I defined in SAP CF destination pointing to my local server via SAP Cloud connector.

When I go to the app URL https://appnode-demo-pxxxxtrial.cfapps.eu10.hana.ondemand.com/ it gives me the error message with this log:

msg":"GET request to /nodeBackend1 completed with status 500 - Error while retrieving destination nodeBackend1 from destination service. HTTP status code: 400"}

However, If I change the authenticationType to basic, I don't get any error (I need to enter my credential).

How to disable the authentication so I can access the page without entering my credential (make it public) ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on May 30, 2019 at 05:00 AM

    Set

    "authenticationMethod": "none"

    "authenticationType": "none"

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 29, 2019 at 09:54 AM
    Add a comment
    10|10000 characters needed characters exceeded

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.