Browse Source

Merge pull request #12470 from maxunbearable/fix/5434-oath-client-id-secret-erased

Fixed oathclient - client id and secret removal with slow internet
pull/12512/head
Igor Kulikov 2 years ago
committed by GitHub
parent
commit
872b5472e3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      ui-ngx/src/app/modules/home/pages/admin/oauth2/clients/client.component.ts

4
ui-ngx/src/app/modules/home/pages/admin/oauth2/clients/client.component.ts

@ -203,7 +203,9 @@ export class ClientComponent extends EntityComponent<OAuth2Client, PageLink, OAu
additionalInfo?.providerName : defaultProviderName);
this.changeMapperConfigType(this.entityForm, MapperType.BASIC);
this.setProviderDefaultValue(defaultProviderName, this.entityForm);
if (this.createNewDialog || this.isAdd) {
this.setProviderDefaultValue(defaultProviderName, this.entityForm);
}
this.subscriptions.push(this.entityForm.get('mapperConfig.type').valueChanges.subscribe((value) => {
this.changeMapperConfigType(this.entityForm, value);

Loading…
Cancel
Save