Instead of adding additional logins via php api - this can perfectly …#27607
Instead of adding additional logins via php api - this can perfectly …#27607DeepDiver1975 merged 3 commits intomasterfrom
Conversation
|
|
||
| $parameters['alt_login'] = OC_App::getAlternativeLogIns(); | ||
| $altLogins = OC_App::getAlternativeLogIns(); | ||
| $altLogins2 = $this->config->getSystemValue('login.alternatives'); |
There was a problem hiding this comment.
please add to config.sample.php
|
👍 |
|
Failing tests: |
config/config.sample.php
Outdated
| /** | ||
| * Allows to specify additional login buttons on the logon screen for e.g. SSO integration | ||
| * 'login.alternatives' => [ | ||
| * ['href' => '/sso-saml', 'name' => 'Shibboleth SSO', 'img' => '/img/shibboleth.png'], |
There was a problem hiding this comment.
Very bad example: ADFS and Shibboleth are both doing SAML. The use cases out there are showing buttons for different IdPs. The links then go directly to the idp. on oic side the same /login/saml url is protected by mod_shib. It is configured to handle multiple idps with dedicated SessionInitiators, see https://wiki.shibboleth.net/confluence/display/CONCEPT/IdPDiscovery#IdPDiscovery-AttheApplication
<a href="https://www.testshib.org/Shibboleth.sso/ProtectNetwork?target=https%3A%2F%2Fwww.testshib.org%2Ftestshib-two%2Fauth-pages%2Fauth.jsp">
<img src="images/PN_sign-in.gif" alt="Login with ProtectNetwork" border="0">
</a>
<a href="https://www.testshib.org/Shibboleth.sso/OpenIdP.org?target=https%3A%2F%2Fwww.testshib.org%2Ftestshib-two%2Fauth-pages%2Fauth.jsp">
<img src="images/openidp.png" alt="Login with OpenIdP.org" border="0">
</a>There was a problem hiding this comment.
make it
* Allows to specify additional login buttons on the logon screen for e.g. SSO integration
* 'login.alternatives' => [
* ['href' => 'https://www.testshib.org/Shibboleth.sso/ProtectNetwork?target=https%3A%2F%2Fmy.owncloud.tld%2Flogin%2Fsso-saml%2F', 'name' => 'ProtectNetwork', 'img' => '/img/PN_sign-in.gif'],
* ['href' => 'https://www.testshib.org/Shibboleth.sso/OpenIdP.org?target=https%3A%2F%2Fmy.owncloud.tld%2Flogin%2Fsso-saml%2F', 'name' => 'OpenIdP.org'], 'img' => '/img/openidp.png'],
There was a problem hiding this comment.
I'm happy to change this to something more reasonable @butonic
c11dc5a to
65c833f
Compare
config/config.sample.php
Outdated
config/config.sample.php
Outdated
65c833f to
2663456
Compare
| * ['href' => 'https://www.testshib.org/Shibboleth.sso/OpenIdP.org?target=https%3A%2F%2Fmy.owncloud.tld%2Flogin%2Fsso-saml%2F', 'name' => 'OpenIdP.org'], 'img' => '/img/openidp.png'], | ||
| * ] | ||
| */ | ||
| 'login.alternatives' => [], |
There was a problem hiding this comment.
missing newline for clarity
…be done via the config as well
2663456 to
513363b
Compare
maybe @felixheidecke can apply some css magic |
|
Here you go: 67486aa That's just CSS magic level 0 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |


…be done via the config as well
Screenshots (if appropriate):
Types of changes
Checklist: