To make changes in branding of IDM login via CAS you must enable customizations.
/data/registry/node-active-config/docker-compose-cas.yml
environment:
the attribute - CAS_CUSTOM_FRONTEND=true
is setsystemctl restart iam-cas
Any change mentioned below has immediate effect after edit and save
Replace file /data/volumes/web-proxy/static/cas/images/logo-header.png
Main css file is /data/volumes/web-proxy/static/cas/css/cas.css
To change you can use any text editor, e.g. nano
If you change line –cas-theme-primary: #072E5E;
to proper hex code of color, it will affect all main colors in settings.
Setting of theme is to be done in jar of respective customer modile (replace "customer" with appropriate name) /data/volumes/czechidm/modules/idm-customer-X.X.X.jar
You must create proper files and folders in jar. Go to fe-sources/czechidm-modules/czechidm-customer/themes/customer/
css/main.less
with changes from original iam cssimages/
which will be usedModified jar must be compiled and applied on environment.
IAM needs to know to use this new settings.
/data/volumes/czechidm/frontend-config/default/production.json
(or create it, if it does not exist) - content is defined on GitHubu: https://github.com/bcvsolutions/CzechIdMng/blob/10.8.3/Realization/frontend/czechidm-app/config/default/production.json"theme": "czechidm-customer/themes/customer"
(change customer to match names used in steps during setting the theme)