Skip to content

AgenticUserAuthorization will perform AI & AU token retrieval#769

Merged
tracyboehrer merged 4 commits intomainfrom
users/tracyboehrer/oauth-aai
Apr 10, 2026
Merged

AgenticUserAuthorization will perform AI & AU token retrieval#769
tracyboehrer merged 4 commits intomainfrom
users/tracyboehrer/oauth-aai

Conversation

@tracyboehrer
Copy link
Copy Markdown
Member

No description provided.

@tracyboehrer tracyboehrer requested review from a team, ceciliaavila and sw-joelmut as code owners April 6, 2026 11:55
Copilot AI review requested due to automatic review settings April 6, 2026 11:55
@tracyboehrer tracyboehrer enabled auto-merge April 6, 2026 11:55
@github-actions github-actions bot added the ML: Core Tags changes to core libraries label Apr 6, 2026
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

Updates AgenticUserAuthorization to retrieve the appropriate token type for agentic requests (instance token vs. user token), aligning token acquisition with the recipient’s agentic role.

Changes:

  • Add branching logic to retrieve an agentic instance token when the recipient role is AgenticIdentity.
  • Fall back to retrieving an agentic user token (AAU) for other agentic recipient roles.

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

tracyboehrer and others added 3 commits April 10, 2026 12:15
…cAuth/AgenticUserAuthorization.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
# Conflicts:
#	src/libraries/Builder/Microsoft.Agents.Builder/UserAuth/AgenticAuth/AgenticUserAuthorization.cs
@tracyboehrer tracyboehrer merged commit 0bad842 into main Apr 10, 2026
8 checks passed
@tracyboehrer tracyboehrer deleted the users/tracyboehrer/oauth-aai branch April 10, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ML: Core Tags changes to core libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants