Skip to Content
avatar image
Former Member

Store OAuth Credentials in SAP ERP

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 19 at 04:56 PM

    Hi Robert,

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

    Add comment
    10|10000 characters needed characters exceeded