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

Fixed oathclient - client id and secret removal with slow internet
This commit is contained in:
Igor Kulikov 2025-01-22 18:07:59 +02:00 committed by GitHub
commit 872b5472e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);