Audit - Error 403 trying to access System Activities and Session Monitoring with global auditor assigned to user role
Symptom
User is getting a 403 error when trying to access System Activities and the error "You can't view this content" when trying to access Session Monitoring. User is a member of the global audit role
Environment
Identity App Access Service
Audit and Reports
Cause
The user has been assigned an excessive number of roles. This is causing the total size of the authentication cookie to exceed the browser-supported limit (typically 4KB), resulting in roles truncation in the cookie.
Resolution
To verify that the roles have been truncated in the authentication cookie the user can:
1. Log in to the tenant.
2. Open the browser’s Inspect tab and go to the Application section.
3. Under Cookies, select their username and copy the ID token.
4. Decode the ID token and check the user_roles field.
5. Confirm whether "global auditor"(in lower case with space) is present.
If the user_roles field on the ID token appears to be empty like in the below example:
Then the roles have been truncated.
To fix this, check the user roles in Identity Administration to identify and remove any unused or redundant roles