Skip to content

fix: require authorizer_url unconditionally - #15

Merged
lakhansamani merged 1 commit into
mainfrom
fix/url-now-required
Aug 14, 2026
Merged

fix: require authorizer_url unconditionally#15
lakhansamani merged 1 commit into
mainfrom
fix/url-now-required

Conversation

@lakhansamani

Copy link
Copy Markdown
Contributor

Why

authorizerdev/authorizer#764 made --url mandatory in Authorizer 2.4.0 — validateAuthorizerURL refuses startup without it. This deploy path already passed the flag, but treated the value as optional, so a default deploy produces a server that exits at boot.

Without --url the server derives its own host from request headers, so a forged Host makes a genuine password-reset link point at an attacker-controlled domain (CWE-640). Mandatory is the fix; these repos had not caught up.

Related

This repo — the worst of the four

The render-time guard fired only when mcp_enabled was set. A default helm install therefore rendered cleanly and then CrashLoopBackOffed, with the cause one line deep in the container log — the exact failure mode the chart's SMTP guard exists to prevent.

Now unconditional, in the same style, and it spells out the distinction operators actually get wrong: authorizer_url is where Authorizer is, allowed_origins is who may talk to it.

Verified

helm template t .
  Error: authorizer.authorizer_url is required as of Authorizer 2.4.0 …

helm template t . --set authorizer.authorizer_url=https://auth.example.com
  renders; emits --url="${AUTHORIZER_URL}"

helm template t . --set authorizer.authorizer_url=… --set authorizer.mcp_enabled=true
  renders

#764 made --url mandatory in Authorizer 2.4.0 — the server exits at
boot without it. This deploy path passed the flag but treated the value as
optional, so a default deploy produces a server that will not start.

The render-time guard only fired when mcp_enabled was set, so a default
helm install rendered cleanly and then CrashLoopBackOffed with the cause
one line deep in the container log. Now fails at render like the SMTP
check, with the allowed_origins distinction spelled out.
@netlify

netlify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploy Preview for authorizer-helm-chart ready!

Name Link
🔨 Latest commit d5814d7
🔍 Latest deploy log https://app.netlify.com/projects/authorizer-helm-chart/deploys/6a7ea4415cb11200083137e2
😎 Deploy Preview https://deploy-preview-15--authorizer-helm-chart.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@lakhansamani
lakhansamani merged commit a93f57b into main Aug 14, 2026
4 checks passed
@lakhansamani
lakhansamani deleted the fix/url-now-required branch August 14, 2026 06:21
lakhansamani added a commit that referenced this pull request Aug 19, 2026
The chart has required it since #15; the test never set it, so the
render aborted before the cluster saw anything.
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