fix: remove sensitive cookie data from sample user configuration#1083
Merged
Conversation
Coverage Report •
|
||||||||||||||||||||||||||||||
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates troubleshooting guidance and sanitizes a sample auth header payload to avoid including sensitive session cookie data.
Changes:
- Removed an
AppServiceAuthSessioncookie header fromsrc/backend/auth/sample_user.pysample data. - Updated
PropertyChangeNotAllowedtroubleshooting steps indocs/TroubleShootingSteps.mdto focus on tearing down and redeploying.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/backend/auth/sample_user.py | Removes the Cookie header from the sample request header dictionary to avoid exposing sensitive session data. |
| docs/TroubleShootingSteps.md | Adjusts the PropertyChangeNotAllowed resolution steps; wording should be aligned with the now-removed “set new credentials” step. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Roopan-Microsoft
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request contains a minor update to the troubleshooting documentation and a small change to a sample user data file. The documentation improvement clarifies the steps required when updating immutable VM properties, while the sample user file has a single-line modification.
Documentation update:
docs/TroubleShootingSteps.mdfile by removing the suggestion to set new credentials before redeployment, focusing instead on deleting the deployment and redeploying with new credentials. This helps prevent confusion about changing immutable VM properties.Sample data update:
Cookieheader line from thesrc/backend/auth/sample_user.pyfile, likely to avoid exposing sensitive session information in the sample data.Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information