You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an attribute is "required", clients MUST specify the attribute in the POST and PUT request.
Moreover, the RFC7644 says "Clients that want to override a server's defaults MAY specify "null" for a single-valued attribute.
In the extension builder, the setAttribute method remove the attribute when the value is null. In that case, the required validator returns a bad request due to missing attribute.
When the attribute is not required, there is no difference between a missing parameter and a null value. So it's not possible to know if the value must be set to null or to a default value.
Do you have any advice on how to tackle this issue ?
Hello,
When an attribute is "required", clients MUST specify the attribute in the POST and PUT request.
Moreover, the RFC7644 says "Clients that want to override a server's defaults MAY specify "null" for a single-valued attribute.
In the extension builder, the setAttribute method remove the attribute when the value is null. In that case, the required validator returns a bad request due to missing attribute.
When the attribute is not required, there is no difference between a missing parameter and a null value. So it's not possible to know if the value must be set to null or to a default value.
Do you have any advice on how to tackle this issue ?
Thanks