Captain-P-Goldfish / SCIM-SDK

a scim implementation as described in RFC7643 and RFC7644
https://github.com/Captain-P-Goldfish/SCIM/wiki
BSD 3-Clause "New" or "Revised" License
123 stars 37 forks source link

User attribute userName is declared imutable in the schema #106

Closed psvo closed 3 years ago

psvo commented 3 years ago

I have noticed that the schema for User resource declares the userName attribute as immutable. Is that intentional?

Would you consider changing it to readWrite?

  1. The RFC 7643 Section 8.7.1 declares the attribute as readWrite.
  2. At least Azure AD SCIM client needs the attribute to be readWrite, because Azure allows you to can change the userName.

I know I can have a custom schema easily, but it might be better to have the default schema compliant with the RFC.

Captain-P-Goldfish commented 3 years ago

This was actually intentional but due to some misguided reasons. I don't mind changing this.