Commit 53f794b
committed
fix(server): add ConnectSupervisor and RelayStream to SANDBOX_METHODS
The supervisor's ConnectSupervisor and RelayStream RPCs were missing
from the SANDBOX_METHODS exemption list. When OIDC is enabled without
mTLS (disable_tls = true), these RPCs are rejected because the
supervisor does not carry an OIDC Bearer token. This causes sandbox
connect to fail with "supervisor session not connected".
Both RPCs are exclusively called by the sandbox supervisor, matching
the existing SANDBOX_METHODS pattern. They already work in mTLS-only
mode where all requests pass via the TLS handshake.
Fixes #1470
Signed-off-by: Adel Zaalouk <azaalouk@redhat.com>1 parent be6ac9e commit 53f794b
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
469 | 471 | | |
470 | 472 | | |
471 | 473 | | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
472 | 478 | | |
473 | 479 | | |
474 | 480 | | |
| |||
0 commit comments