Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2018-01-15 04:33 AM
Hello!
I'm looking into making requests from Archer to external services.
For example, a custom button in record/iView, that makes some action in another system.
Problem is, that almost any action requires authentication. And as far as I know, custom object is JavaScript.
So, storing credentials in custom object is very bad idea.
What is my options? I have no idea where to start.
Make a server-side script, and then call it from my custom object? Then, there will be the problem that only user/button should be able to call it.
2018-01-18 05:47 PM
Sounds like Ajax script to me....
2018-01-19 12:56 AM
Mostly, yes.
But how do you hide credentials?
2018-01-24 05:58 PM
Short of it is - you can't.
https://softwareengineering.stackexchange.com/questions/289700/securing-ajax-calls-to-rest-api