Complete echo-http environment variable documentation #25
+22
−27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
AUTH_ALLOWED_GRANT_TYPESdefault to include all 4 supported grant types (authorization_code, client_credentials, password, refresh_token)AUTH_ALLOWED_USERNAMEandAUTH_ALLOWED_PASSWORDwith their default valuesOIDC_ENABLE_JWT_SIGNINGconfiguration optionWhy
The API documentation was incomplete and misleading:
Incomplete default values:
AUTH_ALLOWED_GRANT_TYPESdefault only listed 2 out of 4 implemented grant types, preventing users from discovering password and refresh_token flows without reading source code.Missing shared credentials:
AUTH_ALLOWED_USERNAMEandAUTH_ALLOWED_PASSWORDwere undocumented despite being used across Basic Auth, Bearer Token, and OAuth2/OIDC flows. Users had no way to know these variables existed or their default values.Dead code confusion:
OIDC_ENABLE_JWT_SIGNINGwas defined but never used—the implementation always generates JWT withalg="none". This created false expectations about signing capabilities.These gaps made it difficult for users to configure authentication correctly and understand which features were actually available.
Test Plan
just echo-http::lint- passesjust echo-http::test- all tests passjust echo-http::build- builds successfully