Joint SP configuration for two applications- attributePrefix conflict
Cantor, Scott
cantor.2 at osu.edu
Mon Nov 21 17:24:15 EST 2016
On 11/21/16, 5:02 PM, "users on behalf of Alexander Ivanov" <users-bounces at shibboleth.net on behalf of alex at calmforce.com> wrote:
> We have two applications running on the same domain (different sub-domains) that both need to be protected
> by Shibboleth authentication. The goal for the Shibboleth configuration is to allow for Single Sign On between
> the two applications (user enters credentials once and gains access to both sites).
If they're separate applications, really and truly, they should have separate entityIDs. That's simply a matter of policy and the whole point of how naming is done in SAML. SSO is up to the IdP and in most cases will be automatic and seamless, not something you need to be dealing with.
But at least with Shibboleth, unless you're manipulating the cookie to live on a shared domain, each application will issue its own host-only session cookie and you're going to round-trip to the IdP anyway. This is true regardless of whether there's one entityID or two. There may be one application ID in the SP but the rule is that each application ID gets its own cookie. There is no rule that says there can only be one cookie per application ID.
> Considering this, is a Shared Entity SP configuration possible? Or do I need to configure our SP to use individual
> entity IDs for Drupal and Dataverse, so that the configuration for these two resources can be different- one with
> an attributePrefix and one without?
I don't know what a "shared entity SP configuration" is, unless you just mean sticking multiple vhosts behind an entityID. That is allowed, but you should use separate entityIDs because it's the right thing to do if you have two unrelated applications, not because you have to.
If you are the only IdP involved, then of course this is academic. You ultimately control both ends and the policy distinctions may not matter. In that scenario, you can do whatever you want, but it doesn't change how the cookies work.
-- Scott
More information about the users
mailing list