SCIM API Integration

I’m currently build a SCIM integration into our product.

When attempting to add and save the base url and API token I receive the following error:

  • Error authenticating: No resources for users returned

Hitting my Users endpoint with a GET request returns the following JSON and a 200 which I believe is valid. What am I missing?

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:ListResponse"
  ],
  "totalResults": 1,
  "Resources": [
    {
      "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:User",
        "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
      ],
      "id": "123456",
      "userName": "bob@helloworld.com",
      "title": null,
      "emails": [
        {
          "value": "bob@helloworld.comm",
          "type": "work"
        }
      ],
      "meta": {
        "resourceType": "User",
        "created": "10/7/2015 7:50:49 PM",
        "lastModified": "5/18/2018 3:23:06 PM",
        "version": null
      }
    }
  ],
  "itemsPerPage": 1,
  "startIndex": 1
}

Hi @beasty1711, without adding your API token, can you please share how you are authenticating via a curl command sample, i.e., how you are setting your authorization header?

1 Like

Could you please run a test to rule out any schema-related issues? Sometimes, schema issues can lead to drops. If possible, I would suggest running a RunScope test to check for any type inconsistencies, if you have the chance, also raise a support request with the support team with the test response.

Also, please consider omitting any null values in the response as for the user schema as well.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.