SCIM schema mapping for Custom Attributes

Hi Team,

I would like to know how to map custom attributes under schema mapping. In my scenario below json has roleName as custom attribute.
“urn:ietf:params:scim:schemas:core:2.0:User”:{
“roleName”:“ADMIN”
}
i need to map in schema and provision during the account creation and modification. Can someone please help me with this requirement.

{
  "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
  "id": "User",
  "name": "User",
  "urn:ietf:params:scim:schemas:core:2.0:User":{
	"roleName":"ADMIN"
  },
  "attributes": [
    {
      "name": "roleName",
      "type": "string",
      "multiValued": false,
      "description": "User role in the system",
      "required": false
    }
  ]
}

Hi @logesh_venki,

I am not sure at all, but you can try with ['urn:ietf:params:scim:schemas:core:2.0:User'].roleName.

Also, you can use the customization rule to add it on the accounts attributes.

Hi @enistri_devo, Thank you for your reply.

I tried with [‘urn:ietf:params:scim:schemas:core:2.0:User’].roleName . but it is giving parse error ‘&’.

However let me give a try in customization rule. Any idea on provisioning the roles?

Appreciate your help.

Hi All, i found the solution for this issue.

We need to define the jsonPath for required custom attributes in application XML. and then we need to define the schema mapping as usual.

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