SAML SSO simple group assignments

To be completed by the original poster:

CMS Version

4.0.7

Player Type

Windows

Player Version

402

Issue

(SAML: add simple group assignments via SSO · Issue #3297 · xibosignage/xibo · GitHub) Goup matching was introduced with this commit, however there is now regex example in the comments for the settings file. Does anyone have an example regex for simple matching. eg
SAML provider groups: DPT1, DPT2
Xibo groups: DPT1, DPT2

It depends what you have in the group claims in your response.

If it is just the group names as shown then you can not set extractionRegEx at all (it defaults to null) or you can set it to an empty string ''.

What we’ve seen for some IdPs is that they return an LDAP-style cn=name,ou=unit,dc=domain style group name, in which case the regex would be something like:

/cn=(.*),ou=/