Commit b95a64e
authored
🐛 handle creds better in solution server (konveyor#799)
Fixes konveyor#798
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added a dedicated sign-in step (authenticate) to store credentials
before connecting.
* Connections can use an existing bearer token; tokens are exchanged and
refreshed automatically.
* VS Code: entering credentials triggers a solution server restart to
apply them.
* **Bug Fixes**
* More reliable reconnect/refresh handling that stops after failed
attempts.
* Clear error when connecting without prior sign-in.
* Authentication-disabled mode now clears auth state and behaves
correctly.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Signed-off-by: David Zager <david.j.zager@gmail.com>1 parent b1ffcb2 commit b95a64e
File tree
3 files changed
+41
-30
lines changed- agentic/src/clients
- vscode/src
3 files changed
+41
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
110 | 130 | | |
111 | 131 | | |
112 | 132 | | |
| |||
117 | 137 | | |
118 | 138 | | |
119 | 139 | | |
| 140 | + | |
120 | 141 | | |
121 | | - | |
122 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
123 | 145 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
130 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
131 | 153 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
138 | 158 | | |
139 | 159 | | |
140 | 160 | | |
| |||
803 | 823 | | |
804 | 824 | | |
805 | 825 | | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | 826 | | |
812 | 827 | | |
813 | 828 | | |
| |||
856 | 871 | | |
857 | 872 | | |
858 | 873 | | |
859 | | - | |
860 | | - | |
| 874 | + | |
861 | 875 | | |
862 | 876 | | |
863 | 877 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
| |||
792 | 790 | | |
793 | 791 | | |
794 | 792 | | |
795 | | - | |
796 | | - | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | | - | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
801 | 796 | | |
| 797 | + | |
802 | 798 | | |
803 | 799 | | |
804 | 800 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
| 616 | + | |
| 617 | + | |
617 | 618 | | |
618 | 619 | | |
619 | 620 | | |
| |||
0 commit comments