AtlasOfLivingAustralia / ala-bootstrap3

ALA styles with bootstrap 3
2 stars 8 forks source link

add ::authServer:: header/footer token #16

Open matthewandrews opened 4 years ago

matthewandrews commented 4 years ago

We have support for several tokens in header/footer templates e.g. ::loginUrl::, ::headerFooterServer:: etc. However we now need to show links to registration, user account, etc., and at the moment this means that we have different URLs hardcoded in templates in develop and master branches of commonui repos (auth-test vs auth prod), and the branches can't be merged.

Perhaps the simplest way to approach this (to avoid having to add extra config to every app) is to add support for something like an ::authServer:: token, returning the value of the existing security.cas.casServerName config property.