feat(config): PHX_SCHEME / PHX_URL_PORT for http-only LAN installs #18
Labels
No labels
bug
docs
duplicate
enhancement
help wanted
invalid
nice-to-have
pre-1.0
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/lamplighter#18
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
runtime.exs hard-codes the URL as https:443, so http-only LAN installs get the wrong OIDC redirect_uri and links. Read the scheme and port from PHX_SCHEME / PHX_URL_PORT, defaulting to https/443.
Found in the pre-1.0 gap audit of main @
69e09f0.Shipped in #30 (merged as
7e178dd, fix commit9df63c9): prod readsPHX_SCHEME(default https) andPHX_URL_PORT(default 443, orPORTover http), documented in the README. Closing.