RedirectUris is not generated correctly
Problems
-
RedirectUris
are build by filetering on variabledeploy
and laboite section doesn't contain this variable. So redirectUris doesn't contain url for laboite. So two solutions come to my mind:- Add a deploy var set to "true" to laboite section
- Add config['laboite']['hostname'] to hostnames array in templates/include/keycloak-create-client. But we need to filter as well on enabled variable value.
- The loop on
hostname
of each section can't be used becausevars.ini
configuration are merged which makes thehostname
fromvars.ini
available for each addons.
Proposal
Use only a redirectUris
in vars.ini
with $domain
and ${domain}
replacement as described in #232 (closed).
Edited by Daniel Dehennin