The POST /oauth/token endpoint is returning a 403 Forbidden error with the message “Access token refresh failed: insufficient permissions” when our integration attempts to rotate credentials for secondary orgs. This occurs specifically after the initial 24-hour session timeout, despite the client credentials remaining valid in the primary organization.
We are operating a multi-tenant AppFoundry application that manages resources across three distinct Genesys Cloud organizations using separate OAuth client IDs. The initial token acquisition works flawlessly, but the refresh grant type fails consistently for the sub-organizations. The primary org tokens refresh without issue, suggesting the problem lies in the cross-organization scope delegation or the specific API permissions assigned to the secondary client applications.
Has anyone successfully implemented a robust token rotation strategy for multi-org AppFoundry deployments? We have verified that the ‘api:org:read’ and ‘api:org:write’ scopes are present, yet the platform rejects the refresh request. Any insights into the specific permission requirements for cross-org token maintenance would be appreciated.