Web API is failing on SAML enabled environment

I have created one Web API on SAML enabled environment (consider as Dev) and want to call it from other environment (consider as Test).

On Test I have created integration to call API in which I am using connected system,in authentication I have used basic authentication and provided user credentials  who is part SAML group on Dev.

When that user is part of SAML Group integration is throwing an error and when I am removing user from SAML group it's working fine.

Can anyone suggest how to use SAML user credentials to call API?

Thanks in Advance

  Discussion posts and replies are publicly visible