cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up authentication for OData

former_member614878
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

anant_acharya
Advisor
Advisor
0 Kudos

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/2bccd772722d1014b742a3a0c4b1...

Regards
Anant

Answers (3)

Answers (3)

palu
Employee
Employee
0 Kudos

Hi Angeles,

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

former_member614878
Participant
0 Kudos

Hi palu ,

I have raised an incident with regards to this issue. Can you please help me follow it up?

Appreciate all the help.

Thanks and Regards,

JM Angeles

palu
Employee
Employee
0 Kudos

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.

former_member614878
Participant
0 Kudos

Hi palu ,

Is there any documentation or steps that I can use/follow for this creation of communication user?

former_member614878
Participant
0 Kudos

Hi palu ,

I have tried creating communication scenario and generated a user the response that I am getting is '403 Forbidden'. Is there any configuration that I've missed?

palu
Employee
Employee
0 Kudos

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.

former_member614878
Participant
0 Kudos

Hi Palani,

Yes. I have tried that and it logged in. Does this mean that this account that I am using to access the OData is the account that I need for it to integrate on external applications?

Regards,

JM