Hi all,
I have an API call containing the ClientID and ClientSecret of my app. I trigger this API call in a workflow on multiple pages. I’ve noticed that when running the debugger (by adding “?debug_mode=true”), I can access these values of “ClientID and ClientSecret” by running the debugger in step-by-step mode. I have to set “ClientID and ClientSecret” as parameters of my API call because they depend on the environment (test or live). I check if “version-test” is in the URL and then set a custom state for “ClientID and ClientSecret”. I then pass them to the API call.
I don’t want them to be accessible from the debugger… Is there a way to hide some values in the debugger? How do you handle environment variables in a proper way?
Many thanks!