@@ -135,19 +135,17 @@ export class AuthenticationWebview {
135
135
<div class="auth-form-title">Checkmarx One Authentication</div>
136
136
<div id="loginForm">
137
137
<div class="radio-group">
138
- <!-- <label style="display: none;"> -->
139
- <label>
138
+
139
+ <label style="display: none;" >
140
140
<input type="radio" name="authMethod" value="oauth" checked> OAuth
141
141
</label>
142
142
143
143
<label>
144
- <!-- <input type="radio" name="authMethod" value="apiKey" checked >API Key -->
145
- <input type="radio" name="authMethod" value="apiKey">API Key
144
+ <input type="radio" name="authMethod" value="apiKey" checked >API Key
146
145
</label>
147
146
</div>
148
147
149
- <div id="oauthForm" class="auth-form">
150
- <!-- <div style="display: none;" id="oauthForm" class="auth-form"> -->
148
+ <div style="display: none;" id="oauthForm" class="auth-form">
151
149
<label for="baseUri" class="form-label">Checkmarx One Base URL:</label>
152
150
<input type="text" id="baseUri" class="auth-input" placeholder="Enter Checkmarx One Base URL">
153
151
<div id="urls-list" class="autocomplete-items"></div>
@@ -160,8 +158,7 @@ export class AuthenticationWebview {
160
158
</div>
161
159
162
160
<!-- (We need to return it to the next div ) (class="hidden">) -->
163
- <!-- <div id="apiKeyForm" -->
164
- <div id="apiKeyForm" class="hidden">
161
+ <div id="apiKeyForm"
165
162
<label for="apiKey" class="form-label">Checkmarx One API Key:</label>
166
163
<input type="password" id="apiKey" placeholder="Enter Checkmarx One API Key" class="auth-input">
167
164
</div>
@@ -294,4 +291,4 @@ export class AuthenticationWebview {
294
291
}
295
292
}
296
293
}
297
- }
294
+ }
0 commit comments