SAML SSO breaking OAuth client credentials flow for Terraform

We just forced SAML SSO on our Genesys Cloud org for all humans. Now our Terraform pipelines are failing with 401 Unauthorized. I’m using the genesyscloud provider with client_id and client_secret in the backend configuration block. The docs say machine-to-machine auth should still work, but the token endpoint /oauth/token keeps rejecting the request. I’ve verified the client credentials are correct and the client is enabled. Is there a specific scope or setting I need to toggle in the admin console to allow OAuth app tokens to bypass the SAML requirement? Or does enabling SAML lock down all non-interactive auth by default? I’ve tried regenerating the secret, no luck. The error response is just {"error":"invalid_client","error_description":"Client authentication failed"}. This is blocking our entire IaC deployment. Any ideas on how to keep the humans locked behind SAML while letting the API bot in?