Univention Bugzilla – Bug 39605
Show SSO link only if ucs-sso is reachable
Last modified: 2015-11-17 12:12:17 CET
The Single Sign On link should only be shown if the configured identity provider, for example ucs-sso, can be reached by the browser. If the identity provider can't be reached, the link should go to a SDB article: http://sdb.univention.de/1351 Maybe the link should be visible as broken for example crossed out.
done!
This only works on a DC Master/DC Backup because the UCR variable ucs/server/sso/fqdn is not set on a DC Slave/Memberserver.
Strange, on my test system the SSO link is disabled if I use https and it is enabled if I use http: OK → http://10.201.44.1/univention-management-console/ FAIL → https://10.201.44.1/univention-management-console/
I changed the request so that it uses the same protocol.
I've started with a new firefox profile. On master and backup it looks good but on a member server I see the following message: Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf http://ucs-sso.deadlock44.intranet/simplesamlphp/blank.json. (Grund: CORS-Kopfzeile 'Access-Control-Allow-Origin' stimmt nicht mit 'http://10.201.44.1' überein). I see the same problem with Microsoft Edge (Windows 10) and Chromium 45.
(In reply to Stefan Gohmann from comment #5) > I've started with a new firefox profile. On master and backup it looks good > but on a member server I see the following message: > > Quellübergreifende (Cross-Origin) Anfrage blockiert: Die > Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf > http://ucs-sso.deadlock44.intranet/simplesamlphp/blank.json. (Grund: > CORS-Kopfzeile 'Access-Control-Allow-Origin' stimmt nicht mit > 'http://10.201.44.1' überein). > > I see the same problem with Microsoft Edge (Windows 10) and Chromium 45. yes, this was because the response was cached. Caching is now prevented.
It works. I've tested it with various browser. If https is used, the certificate must be accepted first.
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".