Skip to content

Fix Auth Scope Error#49

Closed
rahuldevikar761 wants to merge 1 commit intomainfrom
users/radevika/fixAuthScopeError
Closed

Fix Auth Scope Error#49
rahuldevikar761 wants to merge 1 commit intomainfrom
users/radevika/fixAuthScopeError

Conversation

@rahuldevikar761
Copy link
Copy Markdown
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
Copy Markdown
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

@pontemonti
Copy link
Copy Markdown
Contributor

Fixed in other PR - closing.

@pontemonti pontemonti closed this Jan 22, 2026
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.

4 participants