Solved

Configuring REST Sender - OAuth 2.0 Client Credentials

  • 30 November 2022
  • 4 replies
  • 430 views

Badge +2
  • Do Gooder (Partner)
  • 3 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

icon

Best answer by dsj 5 December 2022, 07:24

View original

4 replies

Userlevel 7
Badge +20

Hi Medhavi,

 

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

 

Regards,

Damith

Badge +2

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

Userlevel 7
Badge +20

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

Badge +2

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

Reply