Get roles from both CustomerID and SAML federation using authorization policy

Configure a “roles” attribute in an authorization policy in SSO managemet console to return all roles from both authorization method as well as from User object. i.e. we want to configure authorization policy that will return all roles from “method:roles” and also form “eidm_roles”.

Solution :

Given configuration string gives desired output

${eidm['roles'].stream().sorted().toList()}${method:roles}