Gal Malachi
03/03/2026, 9:15 PMDevRev
03/03/2026, 9:15 PMloadTenantGroups API returns external groups that are provisioned through SCIM, not JIT-provisioned groups from OIDC/SAML claims .
Why You're Seeing Empty Results
With Google Workspace using JIT provisioning only, group information exists in OIDC claims but isn't provisioned as external groups in Descope. The API only returns groups that have been synchronized through SCIM provisioning .
Solutions
1. Enable SCIM provisioning in Google Workspace to sync groups
2. Use group claims from the user's JWT token instead:
// Access group information from user session
const user = descope.getUser();
const groups = user.customClaims?.groups || [];
• Groups from JIT are available in the user's token claims, not the external groups API
• loadTenantGroups requires SCIM provisioning to return data
Load All External Groups for Specific Members | API Reference | Descope Documentation
Group Management API | Descope DocumentationChris Carper
03/03/2026, 9:38 PMDoron Sharon
03/04/2026, 6:03 AM