cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Difference between Basic Authentication with clientid and client and OAuth with Client Credentials

pjh1
Discoverer
0 Likes
677

Procedures for implementing the two approaches respectively can be seen here:
https://help.sap.com/docs/cloud-integration/sap-cloud-integration/basic-authentication-with-clientid...
https://help.sap.com/docs/integration-suite/sap-integration-suite/oauth-with-client-credentials-gran...

I understand the idea behind each option. However, I don't see how the implementations are different. It seems like service keys generated are the same, and then the adapter configurations in integration flows are also the same. If so, then what is the thing that makes a client be authorized with clientId/clientSecret vs a token?

Thanks

View Entire Topic
Muniyappan
Active Contributor
0 Likes

Did you try calling the iflow? It is a difference in the value of Auth heade what you send from client for example postman

Authorization: Basic <base64-encoded-username:password>

Authorization: Bearer <access_token>

pjh1
Discoverer
0 Likes

So the configuration on the SAP side is the same in both cases and it's the client that decides how it will be authenticated?