Skip to main content

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

@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. 

 


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!


@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


@mregnierHi,

 

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

 

 

 
 

 

 


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?


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!

 


Hi @mregnier 

 

I think this topic going to be helpful.

 


Thank you all for your help.


Reply