cancel
Showing results for 
Search instead for 
Did you mean: 

How to store Client Credentials in SAP Ui5 application?

0 Kudos

Hi,

As per my requirement i need to store client credentials in my application .

Kindly share the proper guidelines to store the credentials in ui5 .

Accepted Solutions (0)

Answers (2)

Answers (2)

shobhit2108
Explorer
0 Kudos

Hi Parandhaman,

This service is the best way to store and retrieve credentials.

I would suggest to check and resolve the issue with node modules, drop a question on the blog you mentioned or get help to resolve the issue ( also if you can drop the issue here, I may be able to help you with it).

Also there are many other third party services which you can try in case if you can (they are not SAP owned services). You can check them online and see if something suits you.

Thanks

Shobhit Pathak

0 Kudos

Hi Shobhit,

I have resolved the node model error issue and also got credential details in terminal but how we can retrieve the data to application level.

Can you please help me how to consume the stored credential in ui5 application.

shobhit2108
Explorer
0 Kudos

Hi Parandhaman,

As per my knowledge, I won't suggest to store credentials or any critical security based information inside SAPUI5 app.

You might want to use service like SAP credential store to securely store and retrieve such critical information.

In case if you still want to store it inside the app(not recommended), you can store it as a json file and access it anywhere inside your code.

Thanks

Shobhit Pathak

0 Kudos

Hi Shobhit Pathak,

Thanks for the response!

I tried below blog but getting error with node modules .Is there any other way to store client credentials. Please let me know.

https://blogs.sap.com/2021/01/30/sap-cloud-foundry-credential-store-service/