deployment - environment specific variables in pingfederate templates -


i customizing pingfederate temaplte (for login).

as part of customization able have java script variable dependent on configuration of form being used. distinguish between test , live environment.

i'm trying keep templates in source control , not have duplicated code , able test configurations before deploy.

i'd think set variable somewhere in admin interface , exposed in template, have found nothing in documentation suggest possible.

is there way this, or reasonable work around?

from perspective of pingfederate itself, no. there plenty of mechanisms in javascript use, window.location.host trigger css properties. use velocity variable of $pingfedbaseurl drive css properties.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -