SAML SSO breaking our Python script's OAuth flow?

We just forced SAML SSO for all human users, but our Python script for API calls is still failing. It’s throwing a 401 when trying to hit /api/v2/oauth/token with our standard client_id and client_secret. Is the old grant_type=client_credentials method dead now, or do we need to change the auth flow in the code?