-
Couldn't load subscription status.
- Fork 3
feat: add configure_app for applying middleware to existing FastAPI applications
#85
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0f9af63 to
52766b6
Compare
configure_app for applying middleware to existing FastAPI applications
alukach
pushed a commit
that referenced
this pull request
Aug 17, 2025
🤖 I have created a release *beep* *boop* --- ## [0.8.0](v0.7.1...v0.8.0) (2025-08-16) ### Features * add `configure_app` for applying middleware to existing FastAPI applications ([#85](#85)) ([3c5cf69](3c5cf69)) * add aws lambda handler ([#81](#81)) ([214de02](214de02)) * add configurable audiences ([#83](#83)) ([58d05ea](58d05ea)) * **config:** expand default endpoints ([#79](#79)) ([6718991](6718991)) ### Documentation * build out separate documentation website ([#78](#78)) ([6c9b6ba](6c9b6ba)) * **user-guide:** add record-level and route-level auth sections ([#80](#80)), create getting-started section, move configuration & installation and tips to user guide, reword authentication to authorization, mention row-level authorization, fix configuration links and tips file ref, formatting updates ([89377c6](89377c6), [a840234](a840234), [6ba081e](6ba081e), [11a5d28](11a5d28), [2d5d2ac](2d5d2ac), [8ed08bc](8ed08bc), [5fbd5df](5fbd5df), [170f001](170f001), [d829800](d829800), [37fa12d](37fa12d))) * **docker:** add OpenSearch backend stack to docker-compose ([#71](#71)) ([d779321](d779321)) * **tips:** add details about CORS configuration ([#84](#84)) ([fc1e217](fc1e217)) * **deployment:** add details of deploying STAC Auth Proxy ([aaf3802](aaf3802)) * **cicd:** fix deploy workflow (correct filename, fix deploy step) ([5f00eca](5f00eca), [5178b92](5178b92)) * **architecture:** add data filtering diagrams ([48afd7e](48afd7e)) * miscellaneous documentation updates: - add changelog ([5710853](5710853)) - add version badges to README ([d962230](d962230)) - describe installation via pip ([bfb9ca8](bfb9ca8)) - fix getting started link ([8efe5e5](8efe5e5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: ds-release-bot[bot] <116609932+ds-release-bot[bot]@users.noreply.github.com>
alukach
added a commit
that referenced
this pull request
Sep 3, 2025
… applications (#85) ## Summary - add `configure_app` utility to wire routes and middleware onto an existing FastAPI instance - export `configure_app` and use it within `create_app`
alukach
pushed a commit
that referenced
this pull request
Sep 3, 2025
🤖 I have created a release *beep* *boop* --- ## [0.8.0](v0.7.1...v0.8.0) (2025-08-16) ### Features * add `configure_app` for applying middleware to existing FastAPI applications ([#85](#85)) ([3c5cf69](3c5cf69)) * add aws lambda handler ([#81](#81)) ([214de02](214de02)) * add configurable audiences ([#83](#83)) ([58d05ea](58d05ea)) * **config:** expand default endpoints ([#79](#79)) ([6718991](6718991)) ### Documentation * build out separate documentation website ([#78](#78)) ([6c9b6ba](6c9b6ba)) * **user-guide:** add record-level and route-level auth sections ([#80](#80)), create getting-started section, move configuration & installation and tips to user guide, reword authentication to authorization, mention row-level authorization, fix configuration links and tips file ref, formatting updates ([89377c6](89377c6), [a840234](a840234), [6ba081e](6ba081e), [11a5d28](11a5d28), [2d5d2ac](2d5d2ac), [8ed08bc](8ed08bc), [5fbd5df](5fbd5df), [170f001](170f001), [d829800](d829800), [37fa12d](37fa12d))) * **docker:** add OpenSearch backend stack to docker-compose ([#71](#71)) ([d779321](d779321)) * **tips:** add details about CORS configuration ([#84](#84)) ([fc1e217](fc1e217)) * **deployment:** add details of deploying STAC Auth Proxy ([aaf3802](aaf3802)) * **cicd:** fix deploy workflow (correct filename, fix deploy step) ([5f00eca](5f00eca), [5178b92](5178b92)) * **architecture:** add data filtering diagrams ([48afd7e](48afd7e)) * miscellaneous documentation updates: - add changelog ([5710853](5710853)) - add version badges to README ([d962230](d962230)) - describe installation via pip ([bfb9ca8](bfb9ca8)) - fix getting started link ([8efe5e5](8efe5e5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: ds-release-bot[bot] <116609932+ds-release-bot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
configure_apputility to wire routes and middleware onto an existing FastAPI instanceconfigure_appand use it withincreate_appTesting
uv run pytestuv run pre-commit run --files src/stac_auth_proxy/app.py src/stac_auth_proxy/__init__.py tests/test_configure_app.py(failed: fatal: unable to access 'https://github.com/abravalheri/validate-pyproject/': CONNECT tunnel failed, response 403)https://chatgpt.com/codex/tasks/task_e_689abd13773c832eb019a889139cb736