simpleidserver / SimpleIdServer

OpenID, OAuth 2.0, SCIM2.0, UMA2.0, FAPI, CIBA & OPENBANKING Framework for ASP.NET Core
https://simpleidserver.com/
Apache License 2.0
722 stars 96 forks source link

[SCIM] Error on uniqueness check on 3.0.4 #514

Closed gabrielemilan closed 4 months ago

gabrielemilan commented 1 year ago

Hello, following the bug #510 , I noticed that in the new version 3.0.4 the check of uniqueness doesn't work at all.

It seems that the problem is on flatten data:

image

In the document there is no representation and representationId, the code to check the unique field, try to get the representation using representationId, that is always null.

To test the bug you can add two users with same userName.

P.S.: I noticed that now there is this new collection for flat attributes, why not using the flat attributes inside representation document? Why duplicate the data?

Can you please check?

simpleidserver commented 1 year ago

I m going to take a look to this problem asap.

Kr,

Sid

simpleidserver commented 1 year ago

Hello,

Due to the changes made on the ticket #416, there is a small regression with the Add function. The issue is fixed in the master branch. We will publish a release candidate, when all the bugs related to SCIM are fixed.

KR,

SID

simpleidserver commented 1 year ago

The release 3.0.5-rc1 is published. It contains the following features : https://github.com/simpleidserver/SimpleIdServer/projects/56