Facing issue while fetching List Users, with groups.display and groups.value, as scim filter.
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java, mysql
- Domain
- api, authentication, backend
Research direction
Start by reproducing the two requests against the UAA /Users SCIM endpoint using the supplied UAA and MySQL versions, then trace how filters for groups.display and groups.value are parsed and evaluated. Check existing SCIM filter tests if present. Done means the supported behavior is fixed and covered by tests, or the limitation and accepted query form are documented.
Written by the indexing model from the issue text.
Description
Hello Team,
We are using UAA version: 77.10.0
We are on MYSQL DB: 8.0.mysql_aurora.3.05.2
Requirement:
We have a use case, where assume we have 20 users, 10 users belongs to Group_1 and remaining 10 users belongs to Group_2.
We are interested in fetching only those users, which belongs to Group_1.
We tried below 2 options:
Option 1: Using display name of group in filter.
GET - http://localhost:8080/uaa/Users?filter=origin eq "uaa" and groups.display eq "profile"
Its giving empty response:
{
"resources": [],
"startIndex": 1,
"itemsPerPage": 100,
"totalResults": 0,
"schemas": [
"urn:scim:schemas:core:1.0"
]
}
Question: Even if data is present for the display name of group, its giving EMPTY response.
Is this some know limitation / issue??
Please note: This is working for email attribute (http://localhost:8080/uaa/Users?filter=origin eq "uaa" and emails.value co "[email protected]")
Option 2: Using Group id in filter.
http://localhost:8080/uaa/Users?filter=origin eq "uaa" and groups.value eq "09e29460-e03a-4941-8c83-1795ba65ea3b"
{
"error_description": "Invalid filter expression: [origin eq "uaa" and groups.value eq "09e29460-e03a-4941-8c83-1795ba65ea3b"] [created]",
"error": "scim",
"message": "Invalid filter expression: [origin eq "uaa" and groups.value eq "09e29460-e03a-4941-8c83-1795ba65ea3b"] [created]"
}
Observation: Looks like this is not supported scim filter. So its not working here.
Can someone help here? We need to query on display name of group.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 847
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 48
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudfoundry/uaa
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
cloudfoundry/uaa#4194 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
cloudfoundry/uaa#4189 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
cloudfoundry/uaa#4156 ·
Maintainers usually reply within 1 day
-
Support named allowed-resource policies for mTLS clientsPossibly taken @strehle claimed this 24 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
cloudfoundry/uaa#4125 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
cloudfoundry/uaa#4086 · 1 comment ·
Maintainers usually reply within 1 day
All issues in cloudfoundry/uaa
Similar issues
-
triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
eclipse-edc/IdentityHub#1296 ·
Maintainers usually reply within 1 day
-
area: ui priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
tetsuji16/microProject#1721 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
The engine's "loaded, but had errors" message leaves out which library and line each error is inOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
cqframework/clinical_quality_language#1980 ·
Maintainers usually reply within 3 days
-
windows-sys 0.101.0Open
Difficulty 2/5 1-3 hours Newbie friendliness 61/100