Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matthewandrews opened this issue Dec 5, 2019 · 0 comments
Open

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

matthewandrews opened this issue Dec 5, 2019 · 0 comments

Comments

@matthewandrews
Copy link
Member

matthewandrews commented Dec 5, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants