Hello Portal Experts,
I would like to know the possibility of achieving this.
We have a requirement from our CRM Portal website, user needs to redirect to an external website having 'post data' parameters and few request headers.
Query: to redirect via jQuery/JavaScript the api key should be placed in the JS code which is not recommended as it poses security threat.. What are the possible options here to achieve this functionality.
Regards
<<Bump - Getting to top of list, this issue is still open>>
Hi Omar,
Thank you for response..
Even if we retrieve from site settings by liquid/js, at last that value will be present on the page. and if user check's view-source of that page, he will get the api-key there.
Hi,
You can store your API Key in a site setting and query that site setting in your liquid or JS and use it when needed. Your site setting name will be exposed by not its value.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,902 Super User 2024 Season 2
Martin Dráb 229,336 Most Valuable Professional
nmaenpaa 101,156