Skip to Content
0

I am facing error in post request in OAUTH from sap side .

May 17, 2017 at 02:15 PM

179

avatar image
Former Member

Below are the details.

3rd party will fetch odata service and oauth isused for garntcode type authorisation scenario

we are using

SAP EHP7 SP2

https://HOSTNAME:PORTNO/sap/bc/sec/oauth2/token?grant_type=authorization_code&code=AFBWjSgYHueO4LBVWabSPiAEe4QQU8gchewFeQqswASpwwR0&redirect_uri=https://www.getpostman.com/oauth2/callback&token_type=Bearer

I AM GETTING THE BELOW ERROR

{ "error":"invalid_client","error_description":"No OAuth 2.0 client authentication credentials included or used authentication method is unsupported. Supported authentication methods are specified in the ICF service configuration for the token endpoint in transaction SICF" }

Can any one help me with the exact configuration in SAP for oauth client. 3rd part system will call the odata service using this oauth garntcode type authorisation scenario.Please send me screen shots for full configuration if yopu have any.

My email id: vishwa117@gmail.com

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

1 Answer

avatar image
Former Member Nov 29, 2017 at 10:41 AM
0

Hi Vishwa,

Please maintain URL in "Trusted OAuth 2.0 IdP" field for client Id after you execute tcode SOAUTH2. This can be http://fstst.*/adfs/services/trust or http://SSOtst.*/adfs/services/trust.

This will solve the problem . If already maintained kindly delete and reassign to the field and save. Easy but difficult to find out.

Thank you

Ranjan

Share
10 |10000 characters needed characters left characters exceeded