-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add configurable audiences #83
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
Conversation
Hey @alukach this is ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @jamesfisher-geo! This generally looks great. However, would you be able to add a test to tests/test_authn.py
to validate that this works?
Great, I wasn't sure which test file was relevant for this change. Will do! |
Added! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks so much @jamesfisher-geo!
🤖 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>
This PR enables the JWT audiences to be configured using the
ALLOWED_JWT_AUDIENCES
environment variable