SAML for admins auto login or redirect to idp?

Reply
L1 Bithead

SAML for admins auto login or redirect to idp?

I've successfully  configure SAML with a Shibboleth IDP for administrator access, however, the login process still requires two clicks : One to select SSO, and another to continue without a username. I'd like to provide a better user experience for admins/customers and ideally eliminate all clicks. Is there a specific URL or configuration that would enable an auto redirect behavior for a seamless login?

Tags (1)
L1 Bithead

Re: SAML for admins auto login or redirect to idp?

As a hack, here's some html that provides a single link that would take you to the admin login and initiate an SSO automatically.  Since it appears we can only submit these parameters via POST, we have to simulate that....

 

<html>
<script>
function submitForm() {
var myform = document.getElementById("goform");
myform.submit();
};
</script>
<body>
<form id='goform' action="https://<firewall>/php/login.php" method="post">
<input type="hidden" name="submitSamlForm" value="saml_ok">
<input type="hidden" name="username" value="">
<input type="hidden" name="submitSaml" value="Continue..."></inpyt>
</form>
<a href="#" id="golink" onClick="submitForm()">TEST</a>
</body>
</html>
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!