Consume external RestAPI in ABAP via PingIdentity-Authentification?

Hello experts,

I already consume an external rest interface in SAP ABAP and use the class “cl_http_client” for this and set up the individual “GET” and “POST” requests as required.

The authentication was previously carried out via Basic-Auth and this connection information (endpoint; username; password) was stored once in the SM59.

QUESTION:
The rest service provider no longer allows basic authentication and wants me to call the service in ABAP using PingIdentity authentication.

I have done a lot of research but have not found anything useful.
I have read that these calls Auth-URL, token retrieval and finally retrieving the access token from PingIdentity server can be handled via SOAUTH (OpenID Connect) in SAP.

Unfortunately, I did not understand the SOAUTH2 transaction at all.

The following information is available to me from PingIdentity:
– AuthorisationURL
– RedirectURL
– TokenAuthURL
– ResponseType
– ResponseMode
– Scope
– CodeChallenge
– ClientID

How should I handle this information in the configuration of OAUTH2?
Is there any documentation on this?

And what do I have to do in the ABAP implementation?
Just query the access token and call the final rest service interface?

Thank you in advance for your support.

Best regards
Etin

Scroll to Top