<div dir="ltr"><div>Thanks guys.</div><div><br></div><div>Scott, I've tried the passive login approach. It seems to work for the Drupal site, but it fails for Dataverse. So, when a user starts at the Dataverse site, authenticates with the IdP, then navigates to the Drupal site, and then a call is made to [Drupal domain]/Shibboleth.sso/Login?isPassive=1, the user is properly logged into the Drupal site. However when I attempt to do the same thing by first logging into the Drupal site and then navigating to Dataverse, making a call to [Dataverse domain] /Shibboleth.sso/Login?isPassive=1 does create an SSO session for the Dataverse domain, but <b>does not</b> log the user into the Dataverse site.</div><div><br></div><div>I've created a thread in the Dataverse Google Group about Shibboleth passive login support:</div><div><a href="https://groups.google.com/forum/#!topic/dataverse-community/Fc0wC4fLyeI">https://groups.google.com/forum/#!topic/dataverse-community/Fc0wC4fLyeI</a></div><div><br></div><div>The response I got was:</div><div>"<span style="color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:arial,helvetica,sans-serif;font-size:13px;font-style:normal;font-weight:normal;word-spacing:0px;display:inline;white-space:normal;float:none;background-color:rgb(255,255,255)">I've never heard of this passive login feature of Shibboleth. It sounds nice, and it sounds like what single sign on promises, which is the ability to log in once and then be logged in to various applications such as Dataverse and your Drupal application. It's not clear to me what changes would need to be made to the Shibboleth Service Provider (SP) configuration or to the Dataverse application itself, if any, but if you can figure it out and create a pull request, we could test it and make sure it doesn't break anything."</span></div><div><span style="color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:arial,helvetica,sans-serif;font-size:13px;font-style:normal;font-weight:normal;word-spacing:0px;display:inline;white-space:normal;float:none;background-color:rgb(255,255,255)"><br></span></div><div><span style="color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:arial,helvetica,sans-serif;font-size:13px;font-style:normal;font-weight:normal;word-spacing:0px;display:inline;white-space:normal;float:none;background-color:rgb(255,255,255)">What changes would likely be necessary to make passive login work for Dataverse? Would it just be changes to the SP configuration, or would the application code need to be modified? If the latter is true, then this approach would probably involve too much time/effort.</span></div><div><span style="color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:arial,helvetica,sans-serif;font-size:13px;font-style:normal;font-weight:normal;word-spacing:0px;display:inline;white-space:normal;float:none;background-color:rgb(255,255,255)"><br></span></div><div><span style="color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:arial,helvetica,sans-serif;font-size:13px;font-style:normal;font-weight:normal;word-spacing:0px;display:inline;white-space:normal;float:none;background-color:rgb(255,255,255)">I think that I could still use the passive login approach to log the user into the Drupal site, if the user authenticates with Dataverse first. </span></div><div><span style="color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:arial,helvetica,sans-serif;font-size:13px;font-style:normal;font-weight:normal;word-spacing:0px;display:inline;white-space:normal;float:none;background-color:rgb(255,255,255)">And when the user authenticates with Drupal first, I could create a custom shared cookie to flag that authentication has occurred. If the user then navigates to the Dataverse site with the shared cookie, Dataverse can make a call to /</span>Shibboleth.sso/Login to (overtly) re-authenticate the user for Dataverse. Alternately, I can forgo making the shared cookie and just leave the user logged out of Dataverse until he/she requests to access a protected resource.<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 25, 2016 at 11:45 AM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 11/23/16, 10:15 PM, "users on behalf of Alexander Ivanov" <<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:alex@calmforce.com">alex@calmforce.com</a>> wrote:<br>
<br>
> So, the host-only session cookies present a challenge. Our two sites are on the same host, different subdomains.<br>
> Our ultimate goal is that when the user logs into Site A (through Shibboleth) and then navigates to Site B, Site B<br>
> recognizes that the user was previously authenticated and the user does not have to click Login again to make<br>
> the round-trip to the IdP.<br>
<br>
</span>One way you haven't looked at is IsPassive. If you wanted to, your application could issue a passive login request to the IdP and if the user's already logged in, it will be seamless. With the Shibboleth SP, that's just a simple redirect to /Shibboleth.sso/Login?<wbr>isPassive=1<br>
<br>
Personally I think that's better than shared cookies, and I know it's better than building a whole other layer of SSO into the system, but it's your choice.<br>
<div class="HOEnZb"><div class="h5"><br>
-- Scott<br>
<br>
<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.<wbr>net</a><br>
</div></div></blockquote></div><br></div>