Ashley Wong
02/20/2023, 3:01 AMRishi Bhargava
02/20/2023, 3:43 AMRishi Bhargava
02/20/2023, 3:47 AMGilad Shriki
02/20/2023, 5:53 AMAshley Wong
02/20/2023, 1:08 PMAshley Wong
02/20/2023, 1:18 PMresp.data . What am I doing incorrectly there? Should I be using a different string for tenant admin?
const userTenants = [{ tenantId: 'test', roles: ['Tenant Admin'] }]Itai Hanski
02/20/2023, 1:41 PMroleNames instead of roles. Are you using JS or TS? Give it a try and LMK if you have more issues.Ashley Wong
02/20/2023, 3:29 PMroleNames worked but only when I created a new role (i.e I couldn’t use ‘Tenant Admin’), that’s okay though I’ll just set up the same permissions for a new role. Btw, it looks like your documentation might be wrong, the sample code here uses rolesAshley Wong
02/20/2023, 3:30 PMDoron Sharon
02/20/2023, 3:45 PM