# Add custom SCIM attribute in Inbound SCIM connection

**URL:** <https://community.auth0.com/t/add-custom-scim-attribute-in-inbound-scim-connection/184000>\
**Category:** Get Help\
**Tags:** oidc-enterprise-connection, connections\
**Created:** [March 17, 2025, 5:49pm UTC](https://community.auth0.com/t/add-custom-scim-attribute-in-inbound-scim-connection/184000 "2025-03-17T17:49:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucho](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lucho/32/51654_2.png) [@lucho](https://community.auth0.com/u/lucho)\
**Post date:** [March 17, 2025, 5:49pm UTC](https://community.auth0.com/t/add-custom-scim-attribute-in-inbound-scim-connection/184000/1 "2025-03-17T17:49:47Z")

</div>

I’m trying to set up Inbound SCIM provisioning using Okta following [Configure Inbound SCIM](https://auth0.com/docs/authenticate/protocols/scim/configure-inbound-scim). However, when I try to use an attribute that is not part of the Core SCIM RFC [RFC 7643 sections 3.1, 4.1, and 4.3](https://tools.ietf.org/html/rfc7643), the mapping doesn’t work.

I have this mapping:

```auto
{
        "scim": "urn:ietf:params:scim:schemas:core:2.0:User.svixOrgGroupRole",
        "auth0": "app_metadata.svix_role"
    }

```

The SCIM connection is working correctly, but when Okta makes the SCIM request to Auth0, the `svixOrgGroupRole` seems to be ignored, and app\_metadata is not populated.

```auto
{
  "action": "update_user",
  "connection_id": "con_7v7aINDfFEUKPS1h",
  "request": {
    "method": "put",
    "path": "/scim/v2/connections/con_7v7aINDfFEUKPS1h/Users/okta%7Coktatest%7C00up5aso88HAixy7R697",
    "query": {},
    "userAgent": "Okta SCIM Client 1.0.0",
    "ip": "44.224.222.198",
    "body": {
      "userName": "...",
      "emails": [...],
      "externalId": "...",
      "active": true,
      "displayName": "...",
      "name": {
        "givenName": "...",
        "familyName": "..."
      },
      "photos": [],
      "userType": "admin",
      "locale": "en-US",
      "id": "...",
      "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:User"
      ],
      "meta": {
        "resourceType": "User",
        "lastModified": "2025-03-17T17:16:20.389Z",
        "created": "2025-03-12T18:42:50.340Z",
        "location": "/scim/v2/connections/con_7v7aINDfFEUKPS1h/Users/okta%7Coktatest%7C00up5aso88HAixy7R697"
      },
      "svixOrgGroupRole": "viewer",
      "groups": []
    }
  },
  "response": {
    "statusCode": 200,
    "body": {
      "urn:ietf:params:scim:schemas:core:2.0:User": {},
      "userName": "...",
      "emails": [
        {
          "primary": true,
          "value": "..."
        }
      ],
      "externalId": "...",
      "active": true,
      "displayName": "...",
      "name": {
        "givenName": "...",
        "familyName": "..."
      },
      "nickName": "...",
      "photos": [...],
      "userType": "admin",
      "locale": "en-US",
      "id": "...",
      "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:User"
      ],
      "meta": {
        "resourceType": "User",
        "lastModified": "2025-03-17T17:23:03.359Z",
        "created": "2025-03-12T18:42:50.340Z",
        "location": "/scim/v2/connections/con_7v7aINDfFEUKPS1h/Users/okta%7Coktatest%7C00up5aso88HAixy7R697"
      }
    }
  }
}

```

Is this expected? How do I add a custom attribute then?

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [March 17, 2025, 6:09pm UTC](https://community.auth0.com/t/add-custom-scim-attribute-in-inbound-scim-connection/184000/3 "2025-03-17T18:09:22Z")

</div>

Hi @lucho

Welcome back to the Auth0 Community!

Thank you for posting your question. Unfortunately, custom user attributes are not currently supported. I would encourage you to open a new thread in the #Product Feedback category, and I will route this to the team responsible for the feature as an opportunity for the future.

Thanks!  
Dawid

---

<div class="post-metadata">

**Author:** ![lucho](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lucho/32/51654_2.png) [@lucho](https://community.auth0.com/u/lucho)\
**Post date:** [March 18, 2025, 1:51pm UTC](https://community.auth0.com/t/add-custom-scim-attribute-in-inbound-scim-connection/184000/4 "2025-03-18T13:51:29Z")

</div>

Thanks for the confirmation!

That’d be good to have, but since we need to get this feature built now, I think we are going to use the `roles` attribute and add a role with a specific `type` there.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 1, 2025, 1:52pm UTC](https://community.auth0.com/t/add-custom-scim-attribute-in-inbound-scim-connection/184000/5 "2025-04-01T13:52:02Z")

</div>

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