Open karan-saluja opened 6 days ago
Depending on the IdP, you can send groups over as attributes. If you have them sent over AND those strings match user group handles in craft exactly, that config will work. See the lookup here: https://github.com/flipboxfactory/saml-sp/blob/eeab9bf605fa3155c4a3db19e21d4587fd238ce2/src/services/login/UserGroups.php#L36-L50
If you need something a little more flexible, look at hooking into events here: https://saml-sp.flipboxfactory.com/configure/events.html#examples
Can you please elaborate this, maybe with an example.. https://saml-sp.flipboxfactory.com/configure/groups.html#user-group-saml-sp-configs I have already created groups of the same name as what we have in azure. However groups are not being added when user logs in. Should the group name match with the group's handle name in Craft CMS? or match with the name?