Brad Ison
099a229c5a
[management] Fetch complete user data in ValidateTunnelPeer
...
Previously the `ValidateTunnelPeer` method used by the ProxyService
would fetch user information from the database if the connected peer
was associated with a user ID, but it would not consult the IdP data
for cached info from JWT claims like email. This caused the value of
the injected `X-Netbird-User` header to always display the peer ID and
never the user email associated with the peer as expected.
This change adds an optional IdP manager to the ProxyService and
fetches the complete user data from it if present.
2026-06-17 15:35:19 +02:00
..
2026-06-15 17:43:22 +02:00
2026-05-28 19:14:14 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 12:01:54 +03:00
2026-04-16 16:04:53 +02:00
2026-06-09 15:24:26 +02:00
2026-04-01 12:31:30 +02:00
2026-05-29 16:36:38 +02:00
2026-06-17 15:35:19 +02:00
2026-05-18 12:57:59 +02:00
2026-04-30 17:21:35 +02:00
2024-03-27 18:48:48 +01:00
2026-05-26 17:44:28 +03:00
2026-03-12 15:57:36 +01:00
2026-05-25 17:41:50 +02:00
2026-05-20 08:25:30 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-05-28 19:14:14 +02:00
2026-05-29 16:36:38 +02:00
2026-05-27 11:43:49 +02:00
2026-05-29 16:36:38 +02:00
2026-06-17 14:00:50 +02:00
2026-06-09 15:24:26 +02:00
2026-05-20 18:24:00 +02:00
2026-02-18 16:11:17 +01:00
2026-06-09 13:26:43 +02:00
2026-05-25 17:41:50 +02:00
2026-02-13 19:37:43 +01:00
2026-04-14 12:16:03 +02:00
2026-06-17 15:35:19 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-04-23 21:19:21 +02:00
2026-06-15 17:43:22 +02:00
2025-11-13 12:09:46 +01:00
2026-05-29 16:36:38 +02:00
2026-05-07 11:33:37 +02:00
2026-05-07 11:33:37 +02:00
2026-06-15 17:43:22 +02:00
2026-04-16 16:04:53 +02:00
2026-05-29 16:36:38 +02:00
2025-12-12 18:49:57 +03:00
2026-04-29 15:04:27 +03:00
2026-04-29 15:04:27 +03:00
2026-04-23 21:19:21 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2024-12-20 11:30:28 +01:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00
2025-07-24 16:25:21 +01:00
2025-07-24 16:25:21 +01:00
2026-06-15 17:43:22 +02:00
2026-05-29 16:36:38 +02:00
2026-01-27 09:42:20 +01:00
2026-06-15 17:43:22 +02:00
2026-06-15 17:43:22 +02:00