Fixed oathclient - client id and secret removal with slow internet

This commit is contained in:
mpetrov 2025-01-17 12:46:24 +02:00
parent 34bd41ff4e
commit c3b1dfd825

View File

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