Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use double quotes with filters in SCIM #3136

Merged
merged 1 commit into from
Jan 20, 2024
Merged

Conversation

mgyucht
Copy link
Contributor

@mgyucht mgyucht commented Jan 19, 2024

Changes

The SCIM API team is changing the library used to parse SCIM requests. This library is more strict with the interpretation of filters, specifically mandating that string values in filters, like for display name or application ID, must use double quotes instead of single quotes. This PR modifies SCIM APIs to use double quotes for strings in filters instead.

Tests

  • make test run locally
  • relevant change in docs/ folder
  • covered with integration tests in internal/acceptance
  • relevant acceptance tests are passing
  • using Go SDK

@mgyucht mgyucht requested review from a team as code owners January 19, 2024 15:15
@mgyucht mgyucht requested review from hectorcast-db and alexott and removed request for a team January 19, 2024 15:15
@@ -18,7 +18,7 @@ func TestDataSourceGroup(t *testing.T) {
Fixtures: []qa.HTTPFixture{
{
Method: "GET",
Resource: "/api/2.0/preview/scim/v2/Groups?filter=displayName%20eq%20%27ds%27",
Resource: `/api/2.0/preview/scim/v2/Groups?filter=displayName%20eq%20%22ds%22`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, I don't think the string quotes need to be changed here

@alexott alexott added this pull request to the merge queue Jan 20, 2024
Merged via the queue into master with commit 04a180b Jan 20, 2024
5 checks passed
@alexott alexott deleted the use-double-quotes-in-scim branch January 20, 2024 15:37
@hectorcast-db hectorcast-db mentioned this pull request Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants