Skip to content

Removing uv.lock for internal tool - #531

Merged
Rodrigo Brandão (rodrigobr-msft) merged 3 commits into
mainfrom
users/robrandao/test-dep-bump
Aug 7, 2026
Merged

Removing uv.lock for internal tool#531
Rodrigo Brandão (rodrigobr-msft) merged 3 commits into
mainfrom
users/robrandao/test-dep-bump

Conversation

@rodrigobr-msft

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings August 7, 2026 18:16
@rodrigobr-msft
Rodrigo Brandão (rodrigobr-msft) marked this pull request as ready for review August 7, 2026 18:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates authentication/OAuth logging in the Microsoft 365 Agents SDK for Python to avoid emitting sensitive token-related objects/strings in logs, reducing the risk of credential/PII exposure during OAuth and MSAL flows.

Changes:

  • Stop logging full TokenResponse objects during OAuth flow completion.
  • Stop logging the user_assertion value when MSAL OBO token acquisition fails (replace with a generic error message).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/_oauth/_oauth_flow.py Removes logging of TokenResponse details while preserving flow state updates.
libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/msal_auth.py Removes logging of the user assertion on OBO failure to avoid leaking sensitive assertion tokens.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rodrigobr-msft
Rodrigo Brandão (rodrigobr-msft) merged commit 45d98d7 into main Aug 7, 2026
9 of 10 checks passed
@rodrigobr-msft
Rodrigo Brandão (rodrigobr-msft) deleted the users/robrandao/test-dep-bump branch August 7, 2026 18:22
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