cancel
Showing results for 
Search instead for 
Did you mean: 

NODE.JS Rest API with Basic Authentication

0 Kudos

Hi Experts,

I'm trying to create an Node.JS app in the cloud foundry which I will call from conversational AI to connect to the backend. In this how can i setup basic authentication for the nodejs API.

Thanks and Regards,

Arun

Accepted Solutions (0)

Answers (1)

Answers (1)

gopalanand
Product and Topic Expert
Product and Topic Expert

Hi Arun,

To set up basic authentication for the node application, you need to create a UAA service instance and bind this to your application. The UAA will be having information related to roles and scope for apps. For detailed information, you can follow these steps: https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/3a8e4372f8e74d05b4ed03a4848...

Hope this will help you setting-up the authentication for your applciatoin.