Skip to main content
Solved

How to add an API authentication ?


SMANUEL
Sidekick (Partner)
Forum|alt.badge.img+9
  • Sidekick (Partner)
  • 52 replies

How to add an API authentication In Aurena (APP10)?

Basic Authentication or 0Auth ?

 

Thanks in Advance

Best answer by DHCRADPA

We’ve have successes in Apps10 with Basic Authentication. The API needs the compatibility mode enabled (in API Explorer) to access it via an INT URL with your integration engine. You can then use an existing IFS user to connect to the API, if that user has access to the projection (i.e. can use it).. You might need to whitelist the IP of the integration engine. 

 

Once the Basic Authentication goes through, you’ll receive two cookies to use for subsequent calls. 

 

Try with POSTMAN 1st. If Postman works .. everything else will too. 

View original

4 replies

DHCRADPA
Sidekick (Customer)
Forum|alt.badge.img+8
  • Sidekick (Customer)
  • 77 replies
  • Answer
  • July 30, 2024

We’ve have successes in Apps10 with Basic Authentication. The API needs the compatibility mode enabled (in API Explorer) to access it via an INT URL with your integration engine. You can then use an existing IFS user to connect to the API, if that user has access to the projection (i.e. can use it).. You might need to whitelist the IP of the integration engine. 

 

Once the Basic Authentication goes through, you’ll receive two cookies to use for subsequent calls. 

 

Try with POSTMAN 1st. If Postman works .. everything else will too. 


dsj
Superhero (Partner)
Forum|alt.badge.img+22
  • Superhero (Partner)
  • 832 replies
  • July 31, 2024

Hi @SMANUEL 

IFS APIs access through {{IFS_URL}}/main/ifsapplications/projection/… endpoint should be authenticated with OAuth2.

Same API can be accessed with basic authentication by enabling the compatibility mode as @DHCRADPA mentioned using  {{IFS_URL}}/int/ifsapplications/projection/…  endpoint

If you planning to upgrade to IFS Cloud recently, it’s recommend to use the OAuth2 since basic authentication is not available in IFS Cloud.

Read more on how to use OAuth2 in IFS 10 depending on your use case in below blog post.

https://dsj23.me/2021/01/08/ifs-authentication-flow-with-oauth-and-openid-connect/

 

Hope it helps!

Damith


DHCRADPA
Sidekick (Customer)
Forum|alt.badge.img+8
  • Sidekick (Customer)
  • 77 replies
  • July 31, 2024

Offtopic (Damith.. I really like your blog! Reading it since you posted the Oauth flows)


SMANUEL
Sidekick (Partner)
Forum|alt.badge.img+9
  • Author
  • Sidekick (Partner)
  • 52 replies
  • August 1, 2024

@DHCRADPA@dsj Many thanks for your inputs...Appreciate..


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