
NaveenK.50788 (Customer) asked a question.
Hi,
Currently my SP provider is expecting the group names in format of domain-name\group-name but from OKta IDP side, it is being passed as simple group names which is not working fine in SP.
For example, groups attributes are passing from Okta are passing "Temp-Group" instead we want to return in SAML response as "domain\Temp-Group".
Is there any way to achieve it using regex or some other way while returning it from Okta in "groups" attributes.

Hi @NaveenK.50788 (Customer),
Thank you for posting on the Okta community page!
I have done some research and you can use Okta Expression language to customise the value that is being sent. I have provided below a couple of documentations that contain information about Group Attribute Statements and about Okta Expression language that could help you achieve your use case:
I hope the above information is useful!
On another note, the Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.
Thanks @flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery) for the response but it seems like it is not working as expected.
Is there any way to alter the SAML response using some regex. I am not able to achieve the objective as you suggested.
Can you please provide some kind of example if possible.
Thanks in advance.