Q&A: How to add a portal tile for saml login

login
portal
saml
ucs-4
sso
q-a

#1

Question

Is it possible to add a tile to the portal to have a more prominent point for SSO?

Answer

Yes, simply add a new tile, where ever you want, to the portal and link to the SAML login by using an url like https://sso-ucs.company.me/univention/saml/?location=%2Funivention%2Fportal%2F

Via UDM-CLI

You might alter the values are given here.

udm settings/portal_entry create --position "cn=portal,cn=univention,$(ucr get ldap/base)" \
  --set name="SSO_Login" \
  --set link="https://$(ucr get ucs/server/sso/fqdn)/univention/saml/?location=%2Funivention%2Fportal%2F" \
  --set activated=TRUE \
  --set portal="cn=domain,cn=portal,cn=univention,$(ucr get ldap/base)" \
  --set category=service \
  --set authRestriction=anonymous \
  --set displayName='"de_DE" "SSO Anmeldung"' \
  --set description='"de_DE" "System-Anmeldung"' \
  --set icon='PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE2LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgd2lkdGg9IjQzOC41MzNweCIgaGVpZ2h0PSI0MzguNTMzcHgiIHZpZXdCb3g9IjAgMCA0MzguNTMzIDQzOC41MzMiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQzOC41Mz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OTkxYzUuMzI1LTUuMzI4LDcuOTk0LTExLjgsNy45OTQtMTkuNDE3VjI0Ni42NzMNCgkJQzM4My43MTksMjM5LjA1OSwzODEuMDUzLDIzMi41OTEsMzc1LjcyMSwyMjcuMjU5eiIvPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPC9zdmc+DQo='

udm settings/portal_entry modify --dn "cn=SSO_Login,cn=portal,cn=univention,$(ucr get ldap/base)" \
  --append displayName='"en_US" "SSO Login"' \
  --append description='"en_US" "System Login"'

Via UMC

WiP