Hi Joao
I assume you are creating you new Authentication Mechanism as an InfoMap ? Please confirm. For an InfoMap, there is not much such that we can configure in the mechanism.
The approach I have taken for externalising in such case "per environment" or even global variables" is to define all variables in an external myinfomap-definition.js file, and import it at runtime as follow:
"importMappingRule("myinfomap-definition");"
It will contain whatever I need to refer to in the InfoMap JS file such as:
var var1="123456";
var var2="67890";
...
You will need of course to import that myinfomap-definition.js file into your appliance.
Hope this helps.
------------------------------
Sylvain Gilbert
------------------------------