ZIm/crates/client/src
Marshall Bowers 935cf542ae
Fix impersonation in local development (#16755)
This PR fixes impersonation in local development by fetching the user
from the GitHub API so we can get their `github_user_id`.

The `github_user_id` is now required after #16704.

Since this is just a development flow, we're fetching the user on the
client as opposed to making changes on the server.

This request uses the `GITHUB_TOKEN` environment variable for
authentication, if it exists, or will make an unauthenticated GitHub API
request.

Release Notes:

- N/A
2024-08-23 10:49:34 -04:00
..
telemetry Use SystemClock in EventCoalescer (#8317) 2024-02-23 20:07:13 -05:00
client.rs Fix impersonation in local development (#16755) 2024-08-23 10:49:34 -04:00
socks.rs Add socks proxy for client websocket connection (#16051) 2024-08-22 14:52:18 -06:00
telemetry.rs Add repl events (#15259) 2024-07-26 03:31:41 -04:00
test.rs assistant: Require user to accept TOS for cloud provider (#16111) 2024-08-12 17:43:35 +02:00
user.rs assistant: Require user to accept TOS for cloud provider (#16111) 2024-08-12 17:43:35 +02:00