Skip to Content
avatar image
Former Member

Fixing Odata authentication since update?

Hi,

Up until the recent release, I was successfully able to access the C4C Odata services via url and basic authentication.

Now rather than basic authentication the URL to access Odata metadata or any other Odata service presents you with a HTML page (shown below) rather than authenticating via basic auth.

Previously I was able to make a HTTP request to my C4C Odata url (e.g. https://myxxxxx.crm.ondemand.com/sap/c4c/odata/v1/survey/AnswersCollection) and pass in basic authentication as a header. I would then retrieve an XML tree with all the data it contained.

Potentially there is an alternative method, howeever if this is an intentional change what alternative do I have? This has currently rendered Odata service completely meaningless as it cannot be accessed via HTTP requests.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 10, 2017 at 09:29 AM

    For anyone else with this issue, I discovered from inspecting the form a query ?sap-system-login-basic_auth=X, adding this reverts to basic auth verification.

    Add comment
    10|10000 characters needed characters exceeded