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

Parents Reply
  • What error are you getting?

    Some things to check:

    • Is the user in the Service Accounts group? You won't be able to use an API key unless they belong to this group
    • Make sure the user isn't in the SAML group. This use shouldn't authenticate using SSO.
    • How are you adding the API Key to your request? It should be like this:
      • Header: "Appian-API-Key"
      • Value: [API Key]
    • What is the Web API accessing (e.g. write to data store, start process, etc.) Does the user account also have access to the associated design objects? The account will need at least viewer privileges to read / write from a data store and initiator privileges to start a process.
Children