Is there a way to disable/hide an IdP in the SAML SSO plugin. For example I want to add the test URL, but during normal workhours that one does not have to be visible to everyone.
I want to be able to enable and disable it when it is necessary.
Hi!
Currently, there is no possibility to disable an IdP. If you are using the ‘IdP Selection Page' as IdP Selection Method (this can be found at SAML Single Sign On Configuration → IdP Selection) there is a way to hide an IdP.
Please note that our customization refers to our ‘Default IdP Selection Page Template’ (this can be found at SAML Single Sign On Configuration → Page Templates → IdP Selection Page Templates).
#if(!($idp.name == "NOT VISIBLE"))
Code snippet (complete foreach loop)
#foreach($idp in $idps)
#if(!($idp.name == "NOT VISIBLE"))
<p>
<a href="$idp.ssoUrl">$idp.name</a> $idp.description
</p>
#end
#end
Please let us know if it works fine for you or if you need help.
You can always use ‘Reset to Default’ (SAML Single Sign On Configuration → Page Templates → IdP Selection Page Templates) if something went wrong and you will get our ‘Default IdP Selection Page Template’.
Best regards,
Marvin
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.