imulab / go-scim

Building blocks for servers implementing Simple Cloud Identity Management v2
MIT License
145 stars 56 forks source link

Support for Custom Fields #77

Open plamenGo opened 4 years ago

plamenGo commented 4 years ago

Hi @imulab

I am looking to add support for custom fields, such as this:

        {
            "id": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:customField1",
            "name": "customField1",
            "type": "string",
            "_index": 0,
            "_path": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:customField1"
        },
        {
            "id": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:customField2",
            "name": "customField2",
            "type": "string",
            "_index": 0,
            "_path": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:customField2"
        },

Would you recommend adding this to one of the existing schemas (user or enterpriseUser)? Should I create a separate custom schema for this instead? What other changes would I need to make to support this.

Thank you!