Commit 9f2a967
committed
fix: don't store token when certificates are configured
This was a regression for the custom flows that required authentication via certificates,
the http client and the coder cli were properly initialized but afterward the token was
still required for storing.
Note: the issue was hard to catch early on because the official coder cli is not supporting auth. via certificates.1 parent f056813 commit 9f2a967
File tree
2 files changed
+11
-3
lines changed- src/main/kotlin/com/coder/toolbox
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
400 | | - | |
401 | | - | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
402 | 406 | | |
403 | 407 | | |
404 | 408 | | |
| |||
0 commit comments