Commit Graph
2 Commits
Author SHA1 Message Date
gitea 61905b3d59 Unify Seal backend HTTP requests through client factory and propagate custom headers 2026-09-13 00:48:10 +08:00
gitea bb8b5edec6 Add per-enterprise custom HTTP headers and cookies
Some Seal tenants sit behind a gateway that only forwards requests
carrying its own session cookie. Corp configs can now set
seal.headers/seal.cookies, which the client merges into every request;
cookies are rendered into one Cookie header and the session bearer
token still wins over any configured Authorization.

corps add-seal accepts both fields and applies them when verifying the
tenant, so a gated enterprise can be registered in one step.
2026-09-10 16:25:11 +08:00