Skip to content

docs: AUTHORIZER_URL is required in 2.4.0 - #11

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

docs: AUTHORIZER_URL is required in 2.4.0#11
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 Dockerfile already passes --url="${AUTHORIZER_URL}", so an unset variable becomes --url="" and the server exits with its own clear message — the failure is loud, just undocumented. Adds it to the required-variables table so operators set it before the first deploy rather than after a failed one.

#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 Dockerfile already passes --url="${AUTHORIZER_URL}", so an unset var
becomes --url="" and the server exits with a clear message. Documents it
in the required-variables table so operators set it up front.
@lakhansamani
lakhansamani merged commit 5ebfe59 into main Aug 14, 2026
@lakhansamani
lakhansamani deleted the fix/url-now-required branch August 14, 2026 06:21
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