Commit 3a6f869
committed
chore: update documentation related to proxy authentication
The new API introduced in TBX 2.7, and HTTP proxy authentication works flawlessly. However,
SOCKS5 proxy authentication does not appear to be properly supported in the current TBX
implementation.
While users can configure a SOCKS5 proxy with basic authentication, Toolbox fails to
authenticate successfully. Coder uses OkHttp as the HTTP client, which in turn delegates
SOCKS5 authentication to the JVM (java.net.SocksSocketImpl). We can configure a java.net
.Authenticator with the credentials exposed by the new TBX API. However, since the
Authenticator is set globally, doing so would affect all plugins — including TBX itself —
which may not be desirable.1 parent 6356b84 commit 3a6f869
File tree
3 files changed
+16
-2
lines changed- src/main/kotlin/com/coder/toolbox/sdk
3 files changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
137 | 143 | | |
138 | 144 | | |
139 | 145 | | |
| |||
144 | 150 | | |
145 | 151 | | |
146 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
147 | 157 | | |
148 | 158 | | |
149 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
0 commit comments