Skip to content

Commit

Permalink
Merge pull request #35687 from sberyozkin/oidc_ui_support_capital_cas…
Browse files Browse the repository at this point in the history
…e_secret

Do not convert OIDC DevUI id and secret fields to lower case
  • Loading branch information
sberyozkin authored Sep 1, 2023
2 parents 5a40e6f + 4cf8bef commit c21818f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export class QwcOidcProvider extends QwcHotReloadElement {
<label slot="label">User name</label>
<vaadin-text-field class="frm-field" title="User" value="" required
@value-changed="${e => {
this._passwordGrantUsername = (e.detail?.value || '').trim().toLowerCase();
this._passwordGrantUsername = (e.detail?.value || '').trim();
}}"></vaadin-text-field>
</vaadin-form-item>
</vaadin-form-layout>
Expand All @@ -405,7 +405,7 @@ export class QwcOidcProvider extends QwcHotReloadElement {
<label slot="label">Password</label>
<vaadin-password-field class="frm-field" title="Password" value=""
@value-changed="${e => {
this._passwordGrantPwd = (e.detail?.value || '').trim().toLowerCase();
this._passwordGrantPwd = (e.detail?.value || '').trim();
}}"></vaadin-password-field>
</vaadin-form-item>
</vaadin-form-layout>
Expand Down Expand Up @@ -595,7 +595,7 @@ export class QwcOidcProvider extends QwcHotReloadElement {
<label slot="label">Secret</label>
<vaadin-password-field class="frm-field" title="Secret"
@value-changed="${e => {
this._selectedClientSecret = (e.detail?.value || '').trim().toLowerCase();
this._selectedClientSecret = (e.detail?.value || '').trim();
}}"
value="${propertiesState.keycloakRealms?.length === 1 ? (propertiesState.clientSecret ?? '') : ''}">
</vaadin-password-field>
Expand All @@ -619,7 +619,7 @@ export class QwcOidcProvider extends QwcHotReloadElement {
<label slot="label">Client</label>
<vaadin-text-field class="frm-field" title="Client ID"
@value-changed="${e => {
this._selectedClientId = (e.detail?.value || '').trim().toLowerCase();
this._selectedClientId = (e.detail?.value || '').trim();
}}"
value="${propertiesState.keycloakRealms?.length === 1 ? (propertiesState.clientId ?? '') : ''}">
</vaadin-text-field>
Expand Down

0 comments on commit c21818f

Please sign in to comment.