Commit 9a38ce9
fix(ssh): look for tenant in api when header is empty
In versions before 0.15, the agent's authentication may not provide the
"X-Tenant-ID" header. This can cause issues with establishing sessions
and tracking online devices. To solve this, we retrieve the tenant ID by
querying the API.1 parent e6331c7 commit 9a38ce9
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
34 | 51 | | |
35 | 52 | | |
36 | 53 | | |
| |||
0 commit comments