SitecoreAI roles assigned with claims mapping do not work in Pages


Description

Users that have SitecoreAI roles assigned with claims mapping might fail to access the content in SitecoreAI Pages and Explorer. The root cause of the issue is the absence of the Bearer identity provider in the SitecoreAI environment configuration file, where you mapped the Sitecore ID token claims to roles.

Solution

To resolve the issue, follow the updated official documentation, which includes configuration for both Auth0 and Bearer identity providers:

https://doc.sitecore.com/xmc/en/developers/xm-cloud/assign-xm-cloud-roles-with-claims-mapping.html#mapping-sitecore-id-token-claims-to-xm-cloud-roles