cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member311686
Discoverer
0 Kudos
2,498

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=AFBWjSgYHueO4LBVW...

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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