Skip to content

feat: add auth to stac browser and stac api - #164

Open
botanical wants to merge 21 commits into
mainfrom
issue-195/user-controlled-access-stac
Open

botanical wants to merge 21 commits into
mainfrom
issue-195/user-controlled-access-stac

Conversation

@botanical

@botanical botanical commented Nov 17, 2026 •

Copy link
Copy Markdown

Relevant ticket

https://github.com/NASA-IMPACT/veda-architecture/issues/915

related: NASA-IMPACT/veda-keycloak#329

Changes

The primary goal was to set up user-controlled access to both the DPS STAC browser and the DPS STAC API so that only approved MAAP users who log in through Keycloak can read the catalog and use the STAC API.

In order to achieve this, I configured it so that reads would require a token (so this can obscure the user info on the STAC Browser) but I made some routes public (like /_mgmt/ping, /api and /api.html and /docs/oauth2-redirect.)

Testing

@botanical botanical changed the title feat: [WIP] add auth to stac browser config feat: [WIP] add auth to stac browser and stac api Nov 18, 2026
@botanical
botanical marked this pull request as ready for review November 19, 2026 23:30
@botanical
botanical requested a review from a team as a code owner November 19, 2026 23:30
@botanical botanical changed the title feat: [WIP] add auth to stac browser and stac api feat: add auth to stac browser and stac api Nov 19, 2026

@jjfrench jjfrench left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! One small question, does configure_app error out when provided an empty string for upstream_url?

Comment thread cdk/config.py Resolved
Comment thread tests/test_pgstac_infra.py Resolved
jjfrench
jjfrench previously approved these changes Dec 2, 2026

@jjfrench jjfrench left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the changes make sense! Feel free to redeploy to test env if we need to recheck

This branch was successfully deployed

2 active (1 outdated) deployments
synthtest — e62e658c Deployed Dec 3, 2026 by botanical via CDK Operations #609
test — e949c62e Deployed Dec 3, 2026 by botanical via CDK Operations #608
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