Solved

Postman, Basic authentication and Web service parameters?

  • 23 November 2023
  • 8 replies
  • 227 views

Badge +2

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

icon

Best answer by Charith Epitawatta 23 November 2023, 18:58

View original

8 replies

Userlevel 4
Badge +9

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

 

Userlevel 7
Badge +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!

Userlevel 6
Badge +15

@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

Userlevel 5
Badge +14

@mregnierHi,

 

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

 

 

 
 

 

 

Badge +2

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?

Userlevel 7
Badge +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!

 

Userlevel 5
Badge +14

Hi @mregnier 

 

I think this topic going to be helpful.

 

Badge +2

Thank you all for your help.

Reply