Skip to content

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

Merged
merged 13 commits into from
Aug 9, 2025
Merged

Conversation

jamesfisher-geo
Copy link
Contributor

This PR enables the JWT audiences to be configured using the ALLOWED_JWT_AUDIENCES environment variable

@jamesfisher-geo jamesfisher-geo changed the title feat: Add configurable Audiences feat Add configurable Audiences Aug 6, 2025
@jamesfisher-geo jamesfisher-geo changed the title feat Add configurable Audiences feat: Add configurable Audiences Aug 6, 2025
@jamesfisher-geo jamesfisher-geo changed the title feat: Add configurable Audiences feat: add configurable audiences Aug 6, 2025
@jamesfisher-geo
Copy link
Contributor Author

Hey @alukach this is ready for review

@alukach alukach self-requested a review August 6, 2025 18:04
alukach

This comment was marked as duplicate.

Copy link
Member

@alukach alukach left a 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?

@jamesfisher-geo
Copy link
Contributor Author

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!

@jamesfisher-geo jamesfisher-geo requested a review from alukach August 6, 2025 21:27
@jamesfisher-geo
Copy link
Contributor Author

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?

Added!

Copy link
Member

@alukach alukach left a 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!

@alukach alukach merged commit 58d05ea into developmentseed:main Aug 9, 2025
0 of 2 checks passed
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>
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