Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
fe6b634
Adding jwt decorator from user's suggestion
rodrigobr-msft Jul 16, 2026
e8d0795
Updating authorization_agent sample
rodrigobr-msft Jul 16, 2026
f407366
Merge branch 'main' of https://github.com/microsoft/Agents-for-python…
rodrigobr-msft Jul 20, 2026
71fd266
Merge branch 'main' of https://github.com/microsoft/Agents-for-python…
rodrigobr-msft Jul 22, 2026
a8ada98
Reusable _authorize_request for jwt middleware
rodrigobr-msft Jul 22, 2026
5de99a6
Adding tests
rodrigobr-msft Jul 22, 2026
3c6d846
PR feedback
rodrigobr-msft Jul 22, 2026
04110a8
Merge branch 'main' of https://github.com/microsoft/Agents-for-python…
rodrigobr-msft Jul 22, 2026
01f98be
Adding integration tests for jwt middleware for fastapi and aiohttp
rodrigobr-msft Jul 23, 2026
a82750d
Expanding helpers for handling SDK configuration in tests
rodrigobr-msft Jul 23, 2026
f0bd268
Another commit
rodrigobr-msft Jul 23, 2026
8446546
Adding docstring
rodrigobr-msft Jul 23, 2026
6fb30fa
Fixing regression
rodrigobr-msft Jul 23, 2026
448a1cd
Removing return type annotation
rodrigobr-msft Jul 23, 2026
1dab37f
Potential fix for pull request finding
rodrigobr-msft Jul 23, 2026
69511b1
Another commit
rodrigobr-msft Jul 23, 2026
23fb8f6
Merge branch 'users/robrandao/fastapi-jwt' of https://github.com/micr…
rodrigobr-msft Jul 23, 2026
84c0814
Updating pipelines
rodrigobr-msft Jul 23, 2026
9d68677
Adding pytest-aiohttp dev dependency
rodrigobr-msft Jul 23, 2026
fcd09c2
Fixing tests
rodrigobr-msft Jul 23, 2026
9450500
Removing unused import
rodrigobr-msft Jul 23, 2026
1ea75cd
Potential fix for pull request finding
rodrigobr-msft Jul 23, 2026
f188453
Fixing regression
rodrigobr-msft Jul 23, 2026
ae85f48
Fixing tests
rodrigobr-msft Jul 23, 2026
f3aae23
Removing flaky test
rodrigobr-msft Jul 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .azdo/ci-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ steps:
echo "Skipping microsoft_agents_hosting_teams: requires Python 3.12+"
fi
python -m pip install ./dist/microsoft_agents_hosting_slack*.whl
python -m pip install ./dist/microsoft_agents_hosting_fastapi*.whl
python -m pip install ./dist/microsoft_agents_storage_blob*.whl
python -m pip install ./dist/microsoft_agents_storage_cosmos*.whl
displayName: 'Install wheels'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
echo "Skipping microsoft_agents_hosting_teams: requires Python 3.12+"
fi
python -m pip install ./dist/microsoft_agents_hosting_slack*.whl
python -m pip install ./dist/microsoft_agents_hosting_fastapi*.whl
python -m pip install ./dist/microsoft_agents_storage_blob*.whl
python -m pip install ./dist/microsoft_agents_storage_cosmos*.whl
- name: Test with pytest
Expand Down
3 changes: 3 additions & 0 deletions dev/integration/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ requires-python = ">=3.13"
dependencies = [
"pytest",
"pytest-asyncio",
"microsoft-agents-authentication-msal",
"microsoft-agents-hosting-aiohttp",
"microsoft-agents-hosting-dialogs",
"microsoft-agents-hosting-fastapi",
"microsoft-agents-testing @ file:///${PROJECT_ROOT}/../microsoft-agents-testing",
]
2 changes: 2 additions & 0 deletions dev/integration/pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::aiohttp.web.NotAppKeyWarning
ignore:Using `httpx` with `starlette\.testclient` is deprecated; install `httpx2` instead\.:starlette.exceptions.StarletteDeprecationWarning:fastapi.testclient

# Test discovery configuration
testpaths = tests
pythonpath = .
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
Expand Down
Empty file.
13 changes: 13 additions & 0 deletions dev/integration/tests/auth/auth.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
CONNECTIONS__SERVICE_CONNECTION__SETTINGS__CLIENTID=test-app-id
CONNECTIONS__SERVICE_CONNECTION__SETTINGS__CLIENTSECRET=test-client-secret
CONNECTIONS__SERVICE_CONNECTION__SETTINGS__TENANTID=test-tenant-id
CONNECTIONS__SERVICE_CONNECTION__SETTINGS__ANONYMOUS_ALLOWED=true

CONNECTIONSMAP__0__CONNECTION=SERVICE_CONNECTION
CONNECTIONSMAP__0__SERVICEURL=*

AGENTAPPLICATION__USERAUTHORIZATION__AUTO_SIGN_IN=true
AGENTAPPLICATION__USERAUTHORIZATION__HANDLERS__test-auth__SETTINGS__AZUREBOTOAUTHCONNECTIONNAME=test-oauth-connection
AGENTAPPLICATION__USERAUTHORIZATION__HANDLERS__test-auth__SETTINGS__TITLE=Sign in
AGENTAPPLICATION__USERAUTHORIZATION__HANDLERS__test-auth__SETTINGS__TEXT=Sign in
AGENTAPPLICATION__USERAUTHORIZATION__HANDLERS__test-auth__SETTINGS__TYPE=UserAuthorization
Loading
Loading