Skip to content

feat: support customizing OpenAPI auth scheme #51

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 3 commits into from
Apr 14, 2025

Conversation

alukach
Copy link
Member

@alukach alukach commented Apr 13, 2025

Currently, we inject an OIDC auth scheme into the OpenAPI spec. However, users may want to run the STAC Auth Proxy to apply auth for tokens that are generated elsewhere (e.g. tokens that can be validated with a JWKS, but are not generated via the /token or /authorization endpoint). As such, this PR enables the manual override of the auth scheme that we inject into the OpenAPI doc, configurable via env vars.

@alukach alukach changed the title feat: Support customizing OpenAPI auth scheme feat: support customizing OpenAPI auth scheme Apr 13, 2025
@alukach alukach merged commit de6a946 into main Apr 14, 2025
2 checks passed
@alukach alukach deleted the feature/openapi-spec-customization branch April 14, 2025 02:42
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.

1 participant