Skip to main content
Solved

Postman, Basic authentication and Web service parameters?

  • November 23, 2023
  • 8 replies
  • 416 views

Forum|alt.badge.img+2

In Postman, how to activate Basic authentication and use Web service parameters?

Best answer by Charith Epitawatta

Hi @mregnier,

To enable basic authentication, you need to set the ifsappproxy.basicAuthEnabled parameter to true in ifscloud-values.yaml file and run the IFS Cloud installer with mtinstaller option. 

Hope this helps!

 

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

8 replies

Forum|alt.badge.img+10
  • Hero (Partner)
  • 189 replies
  • November 23, 2023

@mregnier 

What is the use case? What do you want to do? 

Basic authentication  is only possible on a remote deployment as far as I know. 

 


Charith Epitawatta
Ultimate Hero (Employee)
Forum|alt.badge.img+31

Hi @mregnier,

You can follow the Postman documentation for this. You just need to select Basic Auth as the authentication type in Authorization tab as mentioned in the following documentation:

https://learning.postman.com/docs/sending-requests/authorization/specifying-authorization-details/

Query and path parameters will depend on the web service and you can find them in the API Documentation in Aurena. You can access the API Doc for projections via the API Explorer screen in Aurena. Documentation for APP10 can be found here:

https://docs.ifs.com/techdocs/foundation1/045_administration_aurena/240_integration/020_api_explorer/default.htm

However, as @kvbe has mentioned above, basic authentication can be enabled only in the Remote Deployment model in IFS Cloud. For IFSAPP10, you can follow the above mentioned documentation.

It is also worth noting that using basic authentication is not recommended due to its drawback. Industry standard nowadays is to use OAuth. 

Hope this helps!


Marcel.Ausan
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 1142 replies
  • November 23, 2023

@mregnier In addition to what @Charith Epitawatta mentioned, you may also wanna check below documentation link.

It also mentions some example with Postman for Client Credentioals or ROPC flows:

https://docs.ifs.com/techdocs/23r1/030_administration/010_security/040_iam_settings/050_authentication_for_integrations/030_direct_access_grants/#use-case_advantages_and_limitations_of_ropc


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Superhero (Customer)
  • 319 replies
  • November 23, 2023

@mregnierHi,

 

In addition to @Marcel.Ausan 😁. A Python function for getting the access token using ROPC flow is below.

 

 

 
 

 

 


Forum|alt.badge.img+2
  • Author
  • Sidekick
  • 6 replies
  • November 23, 2023

Thank you all for your feedback.


Just to clarify, I'm in an IFS CLOUD 23r1 context, hosted outside IFS.
The customer wants to temporarily test authentication in BASIC mode. But this authentication mode is "disabled" on the WebService.
How can I activate the "Basic" mode for the WebService?


Charith Epitawatta
Ultimate Hero (Employee)
Forum|alt.badge.img+31

Hi @mregnier,

To enable basic authentication, you need to set the ifsappproxy.basicAuthEnabled parameter to true in ifscloud-values.yaml file and run the IFS Cloud installer with mtinstaller option. 

Hope this helps!

 


hhy38
Superhero (Customer)
Forum|alt.badge.img+16
  • Superhero (Customer)
  • 319 replies
  • November 24, 2023

Hi @mregnier 

 

I think this topic going to be helpful.

 


Forum|alt.badge.img+2
  • Author
  • Sidekick
  • 6 replies
  • November 24, 2023

Thank you all for your help.


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