sapling/eden
Muir Manders 2d2c96b796 graphql: update things to work off-vpn
Summary:
We use interngraph GraphQL queries for a few things (phabricator diff info, scmquery log integration).

First, move the graphql endpoint config from static to dynamic config and vary it based on domain.

Finally, set x-x2pagentd-inject-cat in GraphQL request header when using x2pagentd. This replaces the oauth token mechanism, even for existing VPN/corp use. Note that the off-vpn endpoint rejects requests with both x-x2pagentd-inject-cat header and access_token in the body. We can delete the oauth stuff once we are confident in the x2pagent usage here.

Reviewed By: quark-zju

Differential Revision: D44317674

fbshipit-source-id: 329d63207fd9a5b19a145e12b491e270b5924571
2023-03-23 22:17:29 -07:00
..
fs remove some unnecessary includes from ObjectStore.h 2023-03-23 20:04:45 -07:00
integration integration: remove FOLLY_INIT_LOGGING_CONFIG from helpers 2023-03-22 17:05:50 -07:00
locale
mononoke third-party/rust: update tracing-subscriber for Option<Filter> 2023-03-23 12:41:48 -07:00
scm graphql: update things to work off-vpn 2023-03-23 22:17:29 -07:00
test_support Enable StartFakeEdenFSTest 2023-03-14 13:25:16 -07:00
test-data test-data: remove snapshot 20190313 2022-02-04 13:50:48 -08:00
testlib ui: don't default username to <user>@<fqdn> 2023-03-02 22:10:45 -08:00
.clang-tidy clang-tidy: disable facebook-hte-ContextDependentStaticInit 2022-11-04 15:33:50 -07:00
.gitignore
.mononoke_test_file
Eden.project.toml