Skip to content

Conversation

@alukach
Copy link
Member

@alukach alukach commented Jul 31, 2025

Allow OPTIONS requests through without performing auth checks.

Also, ensure that we don't add auth requirements to OPTIONS endpoints when augment OpenAPI spec.

Finally, Claude helped to write tests and recommended we catch jwt.exceptions.PyJWKClientError errors when validating tokens (this came up when it added a test with invalid tokens)

Closes #75

@github-actions github-actions bot added the fix label Jul 31, 2025
@alukach alukach marked this pull request as ready for review July 31, 2025 17:49
@alukach alukach requested a review from gadomski July 31, 2025 17:49
@alukach alukach merged commit 855183a into main Jul 31, 2025
3 checks passed
@alukach alukach deleted the fix/options-requests branch July 31, 2025 21:55
alukach pushed a commit that referenced this pull request Aug 1, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.7.1](v0.7.0...v0.7.1)
(2025-07-31)


### Bug Fixes

* ensure OPTIONS requests are sent upstream without auth check
([#76](#76))
([855183a](855183a)),
closes
[#75](#75)
* process links w/o the prefix
([#70](#70))
([8a09873](8a09873))


### Documentation

* update middleware descriptions
([d3d3769](d3d3769))

---
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
Allow OPTIONS requests through without performing auth checks.

Also, ensure that we don't add auth requirements to OPTIONS endpoints
when augment OpenAPI spec.

Finally, Claude helped to write tests and recommended we catch
`jwt.exceptions.PyJWKClientError` errors when validating tokens (this
came up when it added a test with invalid tokens)

Closes #75
alukach pushed a commit that referenced this pull request Sep 3, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.7.1](v0.7.0...v0.7.1)
(2025-07-31)


### Bug Fixes

* ensure OPTIONS requests are sent upstream without auth check
([#76](#76))
([855183a](855183a)),
closes
[#75](#75)
* process links w/o the prefix
([#70](#70))
([8a09873](8a09873))


### Documentation

* update middleware descriptions
([d3d3769](d3d3769))

---
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable cors for stac api

3 participants