Skip to main content

Hi,

I am trying to to invoke a REST endpoint using OAuth Client credentials in IFSAPP10. But it ends up with a 401 Unauthorized access error.

It works in Postman for the below configurations.

 

Does anyone have an idea of what I am missing? Or anything else that I could check to figure out what is going wrong? Any help is much appreciated.

 

Thank you

Hi Medhavi,

 

Try removing the Additional header parameter and see if it works?

 

Regards,

Damith


Hi Damith,

Thank you very much for your reply. I have tried without it and also adding some other parameters such as ‘Content-Type’ and ‘Accept’. It does not work. Gives the same error.

 

Best Regards,

Medhavi


Hi Medhavi,

 

We had issues with REST sender client credential flow in IFS Cloud and as I remember it was fixed in one of the service updates in 21R1. Perhaps it could be a bug in Apps10 too?

 

Regards,

Damith


Hi Damith,

Thank you so much for pointing me in the right direction. It was actually a bug that has been fixed from APP10 UPD16.

BR Medhavi


I just wanted to note that I had a very similar outcome (APPS10 UPD12), but setting 

Content-Type=application/json

In the additional headers field DID resolve the issue for me.

It appears that IFS was successfully retrieving a token, but then failing to pass it through on the actual API call.


Reply