
ScottS.89055 (Customer) asked a question.
Is it possible for me to send a particular SAML attribute if a user is a member of a particular group, and omit it if not? If it is possible, how do you implement it?
I am working with an SP that will automatically provision new and update existing users based on the attributes sent in the SAML assertion. This includes first name, last name, and email address. Additionally it also includes the ability to automatically grant the admin role if you send the "admin" attribute with a value of "true".
If you don't want to provision the admin role, the SP wants you to omit the admin attribute the assertion. Is it possible to dynamically send this attribute depending on group membership? If so, how?

The app attribute can be named as App Role. This attribute can have values as "Admin" or "User".
Similar to FirstName/LastName, you can map this attribute to the role attribute in the app.
The app can handle access as received in the SAML assertion.
Hope this helps.