Greetings, if we setup a tenant where we use a dif...
# ask-a-descoper
m
Greetings, if we setup a tenant where we use a different IDP (Entra) and SCIM provider (Sailpoint) how does that information get reconciled within Descope? Do we map the email address from the IDP or SCIM? I'm presuming we map all fields from the SCIM provider and then just use the IDP to verify the user email, but we would like to take the gorup associations ideally from the IDP. Is this possible?
t
Hi, yes it’s possible. Do you want to have a session about it so I’ll be able to assist?
m
thanks @Tal Kapitolnik - maybe a session is required but i think i only have a couple of questions in relation. From you answering "yes" to the group mapping question I am presuming the following: 1. All fields map from SCIM, however any IDP login that follows this will also map any fields from the IDP. So we can point the group mapping at a group on the IDP that does not exist on the SCIM provider and the relevant role will get mapped when the user logs in via IDP?
(even without JIT enabled as we will obviously want that off)
2. In the case where a field exists on both (name, phone etc) the SCIM field will map but the IDP login may cause that value to change?
(obviously this shouldn't happen but just want to be aware of what might happen if the data in their systems is not fully in sync at a given time for any reason)
3. An email change via SCIM would correctly update the users email in the system, and then the user would obviously need to be logging in with the new email via the IDP or they would not be able to login?
(again just thinking of delays between systems and I think the answer here is obvious)
If the answer to all these 3 is Yes and there are no caveats then I think we are good to carry on what we are doing!
t
Hi, 1. You can set up the group mapping without setting the group attribute name and without JIT. In this scenario, the groups will be based solely on the SCIM provider. 2. If you are not using JIT, we will not update anything based on the IDP login. 3. It depends. Email doesn't necessarily mean login ID. The username from SCIM needs to match with the nameID from the SAML. If those are not synced between them, we will not know it's the same user.
m
1. Ah ok, so we can't use a non JIT IDP to populate group -> role mapping when SCIM is enabled as well? Just the groups from the SCIM provider? 2. Understood and presume this also covers question 1 - no fields are updated by IDP! 3. Right, makes sense. Just to be clear on this, we do indeed receive a login ID that is different to the email. But in Descope after the login ID provided we see -STRING OF CHARACTERS (not present in the SAML response). does that just indicate the source, so in our instance the source of the SCIM would be mapped to the same source as the IDP so only the bit before the - needs to match (hope that makes sense 🙂)
t
1. you can, the mapping is done in the SSO settings but it doesn’t mean it only maps SAML. When you map the groups it will take them from SCIM. If you also disable JIT, they won’t be updated from the SAML at all. 2. Exactly. 3. The string after the hyphen in the login ID is the tenant ID. Both the SSO and the SCIM are configured in the same tenant, so it will be the same for both.
👍 1
m
Thanks very much for the assistance Tal I'm pretty sure im clear now 🙂
👌 1
Sorry Tal, I wrote a really long couple of questions but I can distill it down to this: If we enable SCIM, but leave JIT on. When the user logs in via the IDP will their group -> role mapping update based on the claims in the token? And would anything sent from SCIM overwrite this (bearing in mind the SCIM provider is a completely different service and we do not wish to map any groups to roles from there)?
t
I wouldn't recommend JIT with SCIM, as it can cause sync issues (The SCIM providers assume that nothing is being synced from other sources). What I would suggest if you want to get JIT from the IdP just for groups is to map the SAML in the IdP side to send only nameId and groups, without any other attribute, and not sending any groups from the SCIM provider. That way they won't sync the same attributes so there won't be any sync issues.
m
yeah that make a whole heap of sense thanks a million tal. and the very final part. if we do that and the groups come from the saml claim, do they update when the user logs in (add and remove roles based on group) or only on initial setup?
t
Only when the user logs in.
And updated every time it logs in
m
perfect thanks very much @Tal Kapitolnik i really appreciate the help and clarity!
t
Sure
k
Hey @Tal Kapitolnik we've gone through a mapping of what we believe to be correct between Entra IdP and SailPoint SCIM. When would you be available for us to validate that with you to ensure it's correct before we share/meet with the client to configure? @Mike Hudson
t
I can do tomorrow. Will 09:00 EST work for you?
k
Hey @Tal Kapitolnik yep that works for me and @Mike Hudson....would you like me to send an invite?
Just sent an invite for 9a ET