Comments (3)
Hi,
You may test using plugin-loki
/Users groups attribute should have following syntax (value is mandatory) and only include groups the actual user is member of
"groups": [{
"value": "Employees",
"display": "Employees",
"type": "direct"
}
],
If your plugin getUsers method do not return groups
, scimgateway will automatically try /Groups?filter=members.value eq "userid"&attributes=members.value,id,displayName
and include groups
accordingly
I suspect your getUsers method includes groups and do not use correct format as shown above
(but you also mention https://github.com/jelhub/scimgateway/blob/master/lib/scimgateway.js#L791 having the auto-apply logic when groups not included...)
You may also exclude groups from the response by using: /Users?excludedAttributes=groups
or your getUsers could include empty groups "groups": []
Regards,
Jarle
from scimgateway.
Your issue might refer to /Groups?filter=members.value eq "userid"&attributes=members.value,id,displayName
returning what you mention (includes all members for the group user is member of)
Your are correct, skipping members.value in attributes is better attributes=id,displayName
and I might look into this change, but I don't think general plugins care much of query attributes used. They probably return all supported without any query check.
The reason for including members.value
was to double check that actual user is included in case plugin do not return /Groups as expected.
But anyhow these other members will not be included in the groups returned by /Users
Jarle
from scimgateway.
v4.1.10 have been published addressing this problem
Jarle
from scimgateway.
Related Issues (20)
- Is it possible to set 401 or 403 status HOT 5
- How to change ServiceProviderConfig HOT 2
- How to limit the attributes in default schema? HOT 2
- Feature request: option to disable ping success logging HOT 2
- Problem with modifyUser when user does not exist HOT 3
- createUser is returning userName instead of id HOT 5
- Cannot distinguish PATCH/add and PUT in modifyGroups HOT 2
- Trying to use the scim gateway as a "REST API" front-end HOT 4
- Info: Do you know if scimgateway can be run in a Google cloud function? HOT 1
- HTTP Get for LDAP Plugin Quite Slow HOT 2
- SCIM gateway as SCIM frontend for ADFS. HOT 5
- Question: Configure roles attribute from azure ad + Bug: Content-Type, case sensitivity, 204 on patch HOT 5
- Provide sample on how to pass token to backend HOT 3
- Saviynt Support HOT 1
- Azure modifyUser throws exception if deleting a user HOT 6
- Groups names are not being updated HOT 2
- User implementation of groups attribute incorrect HOT 1
- Issues with default? behavior for generating "id" value on created resources HOT 4
- Azure User Provisioning HOT 3
- Azure function HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scimgateway.