-
Notifications
You must be signed in to change notification settings - Fork 0
Add docs #16
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
Add docs #16
Conversation
a5e0e08 to
306f505
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces documentation updates for Okta and Entra ID integration and modifies the SCIM-related tests and conversion logic to support base64-encoded IDs for handling whitespaces. Key changes include:
- Updating test cases in pkg/test/scim_test.go to use dynamic IDs returned from create endpoints.
- Renaming functions and modifying transformation calls across user and group handlers and converter functions to incorporate base64 encoding.
- Enhancing documentation in the docs folder and updating configuration and template loading in the application.
Reviewed Changes
Copilot reviewed 18 out of 23 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/test/scim_test.go | Updated test cases to retrieve IDs dynamically and validate responses using base64 IDs. |
| pkg/test/assets/assets.go | Added group asset and renamed Patch function to PatchOp to support new testing logic. |
| pkg/config/config.go | Introduced TemplateFile to allow custom template configuration. |
| pkg/app/run.go | Added logic to load a template file if specified. |
| docs/okta.md & docs/entra-id.md | Added and updated documentation for Okta and Entra ID SCIM integration. |
| common/handlers/* (users/groups) | Updated transformation calls by passing dynamic IDs rather than hardcoded values. |
| common/convert/* | Updated conversion functions and tests to use base64 encoded IDs. |
| common/assets.go | Modified the default template loader to support the new transform configuration. |
| README.md | Updated provisioning documentation and clarified relation mappings. |
Files not reviewed (5)
- common/assets/template.tmpl: Language not supported
- common/assets/users-groups.tmpl: Language not supported
- common/assets/users.tmpl: Language not supported
- pkg/test/assets/data/morty.json: Language not supported
- pkg/test/assets/data/rick.json: Language not supported
|
edit: it doesn't. my mistake |
ronenh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just fix the typos found by Copilot.
I did a rebase after squashing the other PR |
use base64 encoded IDs to support any whitespaces