Skip to main content
Solved

Configuring REST Sender - OAuth 2.0 Client Credentials

  • November 30, 2022
  • 5 replies
  • 540 views

Forum|alt.badge.img+3
  • Do Gooder (Partner)
  • 4 replies

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

Best answer by dsj

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

View original
Did this topic help you find an answer to your question?

5 replies

dsj
Superhero (Partner)
Forum|alt.badge.img+22
  • Superhero (Partner)
  • 837 replies
  • November 30, 2022

Hi Medhavi,

 

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

 

Regards,

Damith


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Partner)
  • 4 replies
  • November 30, 2022

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


dsj
Superhero (Partner)
Forum|alt.badge.img+22
  • Superhero (Partner)
  • 837 replies
  • Answer
  • December 5, 2022

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


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Partner)
  • 4 replies
  • December 8, 2022

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


Forum|alt.badge.img+1
  • Do Gooder (Customer)
  • 2 replies
  • May 23, 2024

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings