An error message displayed after login shows that specific groups needed for access to the app are not in the user's account. The app code looks for an LDAP attribute called "
roles", which is translated from Granted Authorities in Active Directory.
We tested authcode-sample app (
identity-sample-apps) using a newly-created test UAA client, to inspect the tokens (identity and access), which were passed to the app on login. It seems something changed due to a change in the way UAA roles are passed to the tokens.
The attribute checkbox "
Persist Custom Attributes" under
Custom Attributes in the
SSO Operator Dashboard >
Advanced Settings >
Group Assignments must be checked in order for the "
roles" attribute to be passed successfully. This results in resource mapping to be successfully interpreted on login and fixes the issue.