Skip to Content
0

Store OAuth Credentials in SAP ERP

Mar 09 at 03:16 PM

32

avatar image
Former Member

I'm using SAPs Authorization Management API to update SAP Cloud Platform users, roles and groups.

Therefore I've created an API Client in SAPCP under Security>OAuth>Platform API. I'm able to get an access token from SAP ERP. To do so I have to make a request from my ABAP coding and send the credentials (username and password) as a header field: "Authorization","Basic <Base64 encoded representation of {clientId}:{clientSecret}>"

Is there some place or best practice to store the credentials for such a call in SAP ERP? To have the password in the coding or in a customizing table doesn't seem like a good approach.

Kind regards, Robert

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Yuvaraj Ramamurthy
Mar 19 at 04:56 PM
0

Hi Robert,

You can consider using secure storage component in ABAP for persisting you client secret. More details are available here .

Share
10 |10000 characters needed characters left characters exceeded