Skip to content

Conversation

@rahuldevikar761
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings November 11, 2025 19:01
@rahuldevikar761 rahuldevikar761 requested a review from a team as a code owner November 11, 2025 19:01
Copy link
Contributor

Copilot AI left a 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 fixes an authentication scope error by standardizing the return type of getMcpPlatformAuthenticationScope() to return string[] instead of string, making it consistent with similar authentication scope functions in the codebase.

  • Changed getMcpPlatformAuthenticationScope() return type from string to string[]
  • Updated the caller to use the scope array directly instead of wrapping it

Reviewed Changes

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

File Description
packages/agents-a365-runtime/src/environment-utils.ts Modified getMcpPlatformAuthenticationScope() to return string[] by wrapping the scope value in an array
packages/agents-a365-runtime/src/agentic-authorization-service.ts Updated to use the scope array directly (removed redundant array wrapping) since getMcpPlatformAuthenticationScope() now returns an array

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