Akoya's token endpoint documentation describes refreshed ID and refresh tokens replacing the previous successful pair. Persisting only part of that response can leave the next refresh using stale credentials.
For the Akoya integration, test refresh completion, an interrupted storage write and two concurrent refresh attempts. Keep token material out of logs and preserve the user's consent boundary. An expired or revoked connection should lead to a clear reconnection flow, not endless retries.