SAML for admins auto login or redirect to idp?

Showing results for 
Show  only  | Search instead for 
Did you mean: 

SAML for admins auto login or redirect to idp?

L1 Bithead

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?


L1 Bithead

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....


function submitForm() {
var myform = document.getElementById("goform");
<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>
<a href="#" id="golink" onClick="submitForm()">TEST</a>
  • 1 replies
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!