Skip to content

fix(identity): validate profile updates before saving - #2930

Draft
laileni-aws wants to merge 1 commit into
feature/OHIfrom
fix/ohi-identity-profile-validation
Draft

laileni-aws wants to merge 1 commit into
feature/OHIfrom
fix/ohi-identity-profile-validation

Conversation

@laileni-aws

Copy link
Copy Markdown
Collaborator

Problem

Profile updates accepted more input than the identity server supports.

Solution

Accept only the supported profile and sso-session settings, and require section and setting names that the shared config parser reads back unchanged.

Testing: added unit tests. npm run test:coverage in server/aws-lsp-identity passes locally on Node 24.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Accept only the profile and session settings that the server supports,
and require section and setting names that the shared config parser
reads back unchanged. Adds unit tests.
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants