SAML2.0 Custom User Provisioning / Get user Roles from Active directory

0
Does anybody have an example of Custom User Provisioning Microflow where if the user is in AD then they will be assigned the role “USER” but if a specific attribute is set to admin, then the user will login as and admin user?  
asked
1 answers
2

Hi Alex,

You can use the microflow ‘CustomUserProvisioning’ in user SAML 2.0 module,

Find the below simple microflow to add the User userrole to your SAML authenticated user by default,

For assigning an admin role, if your attribute admin is coming from your AD, then do a REST call by passing this username, fetch the attribute and use exclusive split to assign the admin role as you’re assigning the way user role

Note: In your SAML configuration, check the check box the custom user provisioning settings

 

Thanks!

answered