Skip to main content
Question

IFS10 API

  • September 18, 2024
  • 8 replies
  • 97 views

Forum|alt.badge.img+6

Hello

I used to do some testing in Postman with the API’s(IFS10). I used the Basic Auth with IFSAPP and PW and this worked fine but now I have a 401 Unauthorized Error. I also followed this guide  - https://dsj23.me/2021/01/08/ifs-authentication-flow-with-oauth-and-openid-connect/     tried using OAuth.2.0 and was able to generate a token but still the same error. Any ideas?

 

Thanks
Ross

8 replies

Forum|alt.badge.img+4
  • Do Gooder (Customer)
  • 12 replies
  • September 18, 2024

We needed a bit of time to get OAuth running as well. For us it was the ClientID that didn’t match.

I would analyse the token with a tool like jwt.ms: Welcome! and then compare the ClientID with what you defined in IFS.


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Customer)
  • 16 replies
  • September 18, 2024

@Remo Thanks, just looking at that guide again and in the middleware server area under identify provider - IFS Database,  shows all the details but mine is blank. My details are  showing under the identity provider of Azure Active Directory…..?

 

 


Forum|alt.badge.img+4
  • Do Gooder (Customer)
  • 12 replies
  • September 18, 2024

I think you have to set up AD authentication instead of database. It would cause quite a few changes though.

However, in IFS10 you can use basic authentication, why do you want to use OAuth?


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Customer)
  • 16 replies
  • September 18, 2024

@rosscortb  Because I can’t get basic authentication to work. It used to work but stopped. 

API url is active, the username and password are correct but I get a 401 error.  When I paste the url in a browser it works fine. 


Forum|alt.badge.img+4
  • Do Gooder (Customer)
  • 12 replies
  • September 18, 2024

In my experience it’s easier to get Basic Auth running, I would recommend to look into that instead of OAuth.


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Customer)
  • 16 replies
  • September 18, 2024

@Remo will do, I think since the security team turned on accessing IFS Enterprise Explorer via SSO its stopped working. 


Forum|alt.badge.img+4
  • Do Gooder (Customer)
  • 12 replies
  • September 18, 2024

Then maybe check the FND_USER_TAB for the user you’re using. In the column WEB_USER there might be an email address indicating it’s using AD SSO. If you can, replace it with the value of IDENTITY and see if Basic Auth is working again.


Forum|alt.badge.img+6
  • Author
  • Do Gooder (Customer)
  • 16 replies
  • September 18, 2024

@Remo  

 


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