tenneo-auth-plugin 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1473,7 +1473,8 @@ async function refreshAccessToken() {
1473
1473
  const body = new URLSearchParams({
1474
1474
  grant_type: DEFAULT_REFRESH_GRANT_TYPE,
1475
1475
  refresh_token: refreshToken,
1476
- client_id: clientId.startsWith("public-") ? clientId : `public-${clientId}`
1476
+ client_id: clientId.startsWith("public-") ? clientId : `public-${clientId}`,
1477
+ tenant_id: tenantId
1477
1478
  });
1478
1479
  const response = await fetch(tokenUrl, {
1479
1480
  method: "POST",