Skip to Content
avatar image
Former Member

How to use OAuth with Sender Rest adapter in SAP PO?

Hi Guyz,

Need your expert advice to implement a scenario in SAP PI (7.4).

Scenario is Rest -> PI -> RFC (with OAuth2 on sender side).

I have gone through blogs given by Ivo Kulms, Alexander Bundschuh and few others also but couldn't find anything on how to implement OAuth based authentication on sender Rest adapter.

Even if we hard code the token for the sender partner that will work.

Any helpful link or direction will be appreciated!!

Thanks in adavance!!

Gaurav

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 26, 2017 at 09:38 AM

    Gaurav,

    The only possible available OAuth auth is through SAML or Concur. i am not so sure if the refresh token or hard coding the token will work in this case.

    https://blogs.sap.com/2015/11/23/pi-rest-adapter-connect-to-concur/

    The refresh token / hard code etc are available in third party's Advantco Rest adapter.

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Manoj K

      Nope, as I mentioned earlier, PI will expose/provision the Rest service (already clarified this).

      There will be a submit happening in salesforce which will send a post message to PI.

  • Aug 06 at 11:44 AM

    Anyone has any idea why we have "Parameter Type" in the Receiver REST but not in the Sender REST Polling?

    Add comment
    10|10000 characters needed characters exceeded