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

app.json had "required": false, so the one-click deploy button left it empty and the dyno failed to boot. Now required: true, with a description naming the app-name-derived value and stating that the server exits without it. Added to the README's required-variables table.

app.json validated as JSON.

#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.

app.json had required:false, so the one-click deploy left it empty.
Also documents it in the required-variables table.
@lakhansamani
lakhansamani merged commit 0081d9a 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