forgejo: make dev.jinemi.com canonical (ROOT_URL and OAuth callback) #151
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Jinemi/thermograph#151
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/forgejo-oauth-jinemi"
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?
Makes
dev.jinemi.comForgejo'sROOT_URL, which is what actually moves clone URLs, the Google OAuth callback, webhook payload URLs and mail links onto the new domain. Serving the hostname (#148) was the cheap half; Forgejo has exactly oneROOT_URLand derives every absolute URL from it.OAuth was verified before the flip, not assumed. Login is Google-SSO-only, so a redirect-URI mismatch locks everyone out of the UI — including out of the ability to undo it. Probing Google directly with the real client ID:
git.thermograph.org/user/oauth2/google/callbackdev.jinemi.com/user/oauth2/google/callbackredirect_uri_mismatchBoth URIs are now registered. The README documents the probe command so the check stays repeatable instead of becoming folklore.
git.thermograph.orgstays served, and stays load-bearing. It is not a courtesy redirect for old bookmarks — CI resolves it:ci-runner/Dockerfileand every already-pushed tag;10.10.0.2in/etc/hosts, which is what makes Caddy's/v2/*matcher see a mesh source IP rather than returning 403;https://git.thermograph.orgas their instance URL.Renaming the registry host is a separate migration. The docs now say that at each place someone would otherwise retire the name as dead weight.
Both names remain on a single Caddy site block — the
/v2/*mesh-only matcher is per-block, so splitting them would re-expose the registry API publicly.The stack has no auto-deploy trigger, so this takes effect only on a manual
docker stack deployfrom the manager (vps2), which follows once this lands.