Skip to content

Add oauth token validation extension to autogen extensions #6436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

yogitasrivastava
Copy link

Why are these changes needed?

This extension is needed so that token validation (access/jwt token) could be abstracted as a class that could be reused across AI agent applications for validating the token requested using autogen.extensions auth/azure

This extension standardizes the manner in which AI agent applications will validate the access token requested using autogen.extensions auth/azure

Related issue number

#6435

Checks

Copy link

codecov bot commented Apr 30, 2025

Codecov Report

Attention: Patch coverage is 98.11321% with 1 line in your changes missing coverage. Please review.

Project coverage is 79.57%. Comparing base (446da62) to head (3f831a7).

Files with missing lines Patch % Lines
...autogen_ext/oauthtokenvalidation/_jwt_validator.py 98.03% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6436      +/-   ##
==========================================
+ Coverage   79.52%   79.57%   +0.05%     
==========================================
  Files         225      227       +2     
  Lines       16661    16714      +53     
==========================================
+ Hits        13249    13301      +52     
- Misses       3412     3413       +1     
Flag Coverage Δ
unittests 79.57% <98.11%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants