A tenant-specific claim is a token or identity assertion that identifies or describes a subject within a particular tenant. It lets each tenant use its own roles, privileges, and access-control structure without treating all tenants alike. section 13.4
A claim set for MegaMart
A user-info response can identify the tenant and carry tenant-defined authorization data: sub user567, tenant_id megamart, role inventory_manager, and permissions such as view_reports and manage_suppliers. section 13.4
{
"sub": "user567",
"tenant_id": "megamart", #1
"role": "inventory_manager",
"permissions": ["view_reports", "manage_suppliers"]
}
Inspect the compact claim structure showing how tenant identity, role, and permissions travel together. section 13.4
