Repository navigation
Fix auth proxy network stability - #40
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
auth-edgeDocker network10.203.0.3auth-edge-servicealiasWhy
After a power outage recreated the dev containers, the shared-network IP of
nginx-proxychanged.TRUSTED_PROXY_CIDRSstill referenced the old address, so auth-service rejected the forwarded HTTPS origin and reportedemail_headless_login: false.The dedicated network gives the reverse-proxy path stable addresses across container recreation. The dev server now pins Nginx to
10.203.0.2and trusts only that address in its local environment configuration.Impact
Email-code login remains available after host or container restarts. This Compose change expects the external
auth-edgenetwork and matching Nginx configuration; both are already applied on the dev server. No OAuth callback, public domain, application code, or secret is changed.Validation
docker compose -f docker-compose.yml config --quietauth-edgeresolvesauth-edge-serviceto10.203.0.3200 ready200 readyemail_headless_login: true10.203.0.3:8100