Skip to Content

Setting up authentication for OData

Hi,

I have created a custom OData in SAP ByDesign but unfortunately upon accessing the link via Google Chrome, it says unauthorized login credentials. I am using the account that I have created in the Communication Scenarios for web services. Is that the right account that needs to be used? If not, where can I create an account to access the OData that I have created. Appreciate all the help.

Thanks and Regards,

JM Angeles

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Jun 22, 2020 at 09:28 AM

    Dear JM Angeles,

    Please refer the below blog for more information

    https://blogs.sap.com/2019/09/26/sap-business-bydesign-an-api-overview/

    You can use any authentication method:

    • Basic authentication (user/password)
    • Certificate (user logon certificate)
    • OAuth 2.0 SAML Bearer authentication
    • SAML 2.0 (Identification by user ID or e-mail address; specific endpoint for single sign-on: <sso-hostname>/sap/byd/odata-sso/…)

    Also please refer help documentation - https://help.sap.com/viewer/7c182c462ec043cba338a30b952068c7/1811/en-US/2bccd772722d1014b742a3a0c4b116d0.html

    Regards
    Anant

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 22, 2020 at 11:54 AM

    Dear JM Angeles,

    The username and password, Which you given in communication scenario is for integration scenarios. For Accessing the Custom Odata Service in a web browser, you have to use your own credentials, the one which you have used to login to the Business ByDesign System.

    Regards,

    Palani.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 02, 2020 at 10:15 AM

    Hi Angeles,

    For Integration with External business applications, you have to create a communication scenario and generate communication user for the same.This communication user will be used for authentication. Tools like Google Chrome and Post Man are not business applications. So, business user is enough in this case.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 03, 2020 at 09:25 AM

    Hi Angeles,

    We need to check the configurations in your system to troubleshoot the issue. Kindly raise an incident to SAP.

    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.