Hi @Saravanan_Dharmaraj ,
I tested this behavior locally by manually removing the tokens from the console (/system/console/tokenmgr). The alert was triggered in both the Assets Console and the Sites Console.
During debugging, I found that the popup is triggered based on the following sequence:
function updateBadge(el, src, resolveWhenNewData) {
var user = el[0].dataset.graniteShellBadgeUser;
var label = el[0].dataset.graniteShellBadgeLabelTemplate;
getData(user, src, resolveWhenNewData).then(function(data) {
el.attr("badge", data.total);
if (label) {
el.attr("aria-label", label.replace("{{count}}", data.total));
}
});
}
If the response status is 403 Forbidden, and the header X-Reason is "Authentication Failed", the handleLoginRedirect function is triggered.
The handleLoginRedirect method is defined in /etc.clientlibs/clientlibs/granite/utils.js and is called from /etc.clientlibs/clientlibs/granite/jquery/granite.js.
updateBadge function continuously checks for updates, and when the session token is missing or invalid, it triggers an authentication failure, resulting in a forced login redirect.
This should help in your analysis why this behavior is occurring on your sites. Let me know if you need further insights!