SAP Knowledge Base Article - Public

3576221 - ODATA request is redirecting to an authentication URI

Symptom

The OData URL in Postman is redirecting to an authentication link instead of returning the data/metadata

Environment

  • SAP Datasphere

Reproducing the Issue

Open the Odata URL in Postman

Cause

 OAuth 2.0 grant type is set to "client_credentials". Currently this authentication type is not supported by the SAP Datasphere consumption APIs .

Resolution

The expected feature is on the Roadmap for SAP Datasphere in Q2 2025

Currently the following workaround is available:

Make sure that the OAuth 2.0 grant type is set to "authorization_code" via authorization URL setup or SAML Bearer Assertion.

Refer to the following blogs for further details:

See Also

Keywords

OData*Request, authorization, SAML, OAuth*client, URI, API, callback, OpenAPI, manual*login , KBA , DS-BB-ODATA , To address issues related to Odata consumption API , Product Enhancement

Product

SAP Datasphere all versions