Why are some claims visible at the Auth0 user profile and not in the id_token jtw payload? I’m specifically missing the sid claim needed for Front Channel Logout, which is visible at the users prorfile at Auth0 after logging in with the OIDC, but it’s not visible in the decoded jwt payload.
function addSidToIdToken(user, context, callback) {
// This rule adds the authenticated user's session id (sid) to the id token.
const namespace = 'https://example.com/';
context.idToken[namespace + 'sid'] = user.sid;
callback(null, user, context);
}