Skip to content

refactor: allow configuring external FastAPI app #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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

alukach
Copy link
Member

@alukach alukach commented Aug 12, 2025

Summary

  • add configure_app utility to wire routes and middleware onto an existing FastAPI instance
  • export configure_app and use it within create_app
  • test configuration of external app without proxy route

Testing

  • uv run pytest
  • uv 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant