Skip to Content
1
May 29, 2018 at 10:55 AM

How to test OAuth 2.0 enabled SAP OData service from POSTMAN Native application?

5877 Views

Hello everyone,

We are using SAP NW 7.40 SP12 system and want to test SAP OData service with OAuth 2.0 authentication and grant type as SAML 2.0 Bearer Assertion (Client Credentials). We have successfully tested grant type Authorization Code from POSTMAN Native application version: 6.1.3

Below is the SAP SCN Wiki page we referred for configuration.

"https://wiki.scn.sap.com/wiki/display/Security/Using+OAuth+2.0+from+a+Web+Application+with+SAML+Bearer+Assertion+Flow"

Also configured ADFS 4.0 as "OAuth 2.0 Identity Provider" in transaction SAML2. JWT Token is getting generated but when we use that token with OData service it gives 401 unauthorized error. Please refer below screenshots from POSTMAN.

Please guide us to resolve this as we are newbie in this particular topic.

Thanks,

Jagrut

Attachments