Skip to content

fix: AUTHORIZER_URL is required in 2.4.0 - #7

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

fix: AUTHORIZER_URL is required in 2.4.0#7
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 blueprint comment said "Leaving it empty exposes…", framing it as a risk rather than a hard failure. Rewritten to lead with REQUIRED.

Kept sync: false deliberately — Render prompts for those at blueprint deploy, and the value cannot be auto-populated: a blueprint cannot concatenate https:// onto fromService.host, and the server rejects a bare hostname. Noted inline so the next reader doesn't try.

render.yaml validated as YAML.

#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 blueprint comment described it as optional. Left as sync:false —
Render prompts at deploy and a blueprint cannot concatenate the scheme
onto fromService.host, so it cannot be populated automatically.
@lakhansamani
lakhansamani merged commit 343d62a into mainAug 14, 2026
@lakhansamani
lakhansamani deleted the fix/url-now-required branch August 14, 2026 06:21
Sign up for freeto 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

@lakhansamani