Scim Connector error

Hi All,

We are connecting to one of the applications with scim connector. Authentication worked fine with Bearer Authentication and tested successfully. however, on the next page where we download the schema and resource-type of the endpoints, we are getting below error

"

/ResourceTypes
Sending GET request using URI webapp.local/.../ResourceTypes
Error returned: The remote server returned an error: (403) Forbidden.
HTTP request returned the "ProtocolError" state. This state shows processing errors. URI : webapp.local/.../ResourceTypes
Error returned: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access this resource.</p>
</body></html>

"

we also checked from Postman, it passed with 200 code but total result with 0.

Can anyone please help to resolve the same?

Using Identity Manager 9.2.1

Regards,

Prasad

Parents
  • Hi Prasad,

    as far as I can see the returned message is quite clear :

    "You don't have permission to access this resource"


    If Postman shows an empty response it is also not what is expected. You should see json data like this

    [
      {
        "schemas": [
          "urn:ietf:params:scim:schemas:core:2.0:ResourceType"
        ],
        "id": "User",
        "name": "User",
        "endpoint": "/Users",
        "description": "User Account",
        "schema": "urn:ietf:params:scim:schemas:core:2.0:User",
        "schemaExtensions": [
          {
            "schema": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User",
            "required": true
          }
        ],
        "meta": {
            "location": "">server.domain.com/.../User",
          "resourceType": "ResourceType"
        }
      },
      {
        "schemas": [
          "urn:ietf:params:scim:schemas:core:2.0:ResourceType"
        ],
        "id": "Group",
        "name": "Group",
        "endpoint": "/Groups",
        "description": "Group",
        "schema": "urn:ietf:params:scim:schemas:core:2.0:Group",
        "schemaExtensions": [
          {
            "schema": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:Group",
            "required": true
          }
        ],
        "meta": {
          "location": "">server.domain.com/.../Group",
          "resourceType": "ResourceType"
        }
      }
    ]

    This should be clarified on the SCIM target system side.

    Regards,

       Tino

Reply
  • Hi Prasad,

    as far as I can see the returned message is quite clear :

    "You don't have permission to access this resource"


    If Postman shows an empty response it is also not what is expected. You should see json data like this

    [
      {
        "schemas": [
          "urn:ietf:params:scim:schemas:core:2.0:ResourceType"
        ],
        "id": "User",
        "name": "User",
        "endpoint": "/Users",
        "description": "User Account",
        "schema": "urn:ietf:params:scim:schemas:core:2.0:User",
        "schemaExtensions": [
          {
            "schema": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User",
            "required": true
          }
        ],
        "meta": {
            "location": "">server.domain.com/.../User",
          "resourceType": "ResourceType"
        }
      },
      {
        "schemas": [
          "urn:ietf:params:scim:schemas:core:2.0:ResourceType"
        ],
        "id": "Group",
        "name": "Group",
        "endpoint": "/Groups",
        "description": "Group",
        "schema": "urn:ietf:params:scim:schemas:core:2.0:Group",
        "schemaExtensions": [
          {
            "schema": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:Group",
            "required": true
          }
        ],
        "meta": {
          "location": "">server.domain.com/.../Group",
          "resourceType": "ResourceType"
        }
      }
    ]

    This should be clarified on the SCIM target system side.

    Regards,

       Tino

Children
No Data