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

[Backport 5.0] SCIM: Fix some random issues #49573

Merged
merged 1 commit into from
Mar 17, 2023
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Contains these changes:

  • Giving 404 response for invalid IDs: Okta validator sends stuff like 010101001010101011001010101011 to check nonexistent users. We returned 400 to these, which made the tests fail. We now return 404.
  • Simplified docs: The scim.identityProvider setting was mentioned as required, and its description wasn't that specific and led me to believe that this setting was more than just "standard/Azure AD". I've marked it as optional, and cleared up its description.
  • Renamed two constants to match Go standards. (My IDE gave a warning on these.)
  • Deleted unused arguments to get rid of code warnings.
  • I also fixed some typos in comments.

Test plan

- **Giving 404 response for invalid IDs**: Okta validator sends stuff
like `010101001010101011001010101011` to check nonexistent users. We
returned `400` to these, which made the tests fail. We now return `404`.
- **Simplified docs**: The `scim.identityProvider` setting was mentioned
as required, and its description wasn't that specific and led me to
believe that this setting was more than just "standard/Azure AD". I've
marked it as optional, and cleared up its description.
- **Renamed two constants** to match Go standards. (My IDE gave a
warning on these.)
- **Deleted unused arguments** to get rid of code warnings.
- I also **fixed some typos** in comments.
- Tested with Azure AD validator and Okta's SPEC validator.

(cherry picked from commit e1f8f7a)
@sg-e2e-regression-test-bob

Bundle size report 📦

Initial size Total size Async size Modules
0.07% (+2.20 kb) 0.09% (+12.63 kb) 🔺 0.09% (+10.43 kb) 🔺 0.00% (0)

Look at the Statoscope report for a full comparison between the commits 331716e and 530863b or learn more.

Open explanation
  • Initial size is the size of the initial bundle (the one that is loaded when you open the page)
  • Total size is the size of the initial bundle + all the async loaded chunks
  • Async size is the size of all the async loaded chunks
  • Modules is the number of modules in the initial bundle

Copy link
Contributor

@vdavid vdavid left a comment

Choose a reason for hiding this comment

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

Already reviewed for main, still looks good here, small, safe changes

@vdavid vdavid merged commit 9683a23 into 5.0 Mar 17, 2023
@vdavid vdavid deleted the backport-49393-to-5.0 branch March 17, 2023 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants