Running a large CX-as-Code plan against Genesys Cloud, the provider seems to cache an OAuth token that expires before the apply finishes. The first few resources create fine, but subsequent calls to /api/v2/users fail with a 401 Unauthorized error. This breaks the state file and forces a manual refresh. We’re using the standard client_credentials flow.
Is there a configuration flag to force a token refresh on every request or extend the window? The current behavior makes batch provisioning unstable. It’s frustrating to debug these intermittent auth failures.