diff --git a/lib/core/settings/host-settings.component.ts b/lib/core/settings/host-settings.component.ts index fa9d3bc81d..ffcbe2b629 100644 --- a/lib/core/settings/host-settings.component.ts +++ b/lib/core/settings/host-settings.component.ts @@ -198,6 +198,10 @@ export class HostSettingsComponent implements OnInit { } private saveOAuthValues(values: any) { + if (values.oauthConfig.publicUrls && (typeof values.oauthConfig.publicUrls === 'string')) { + values.oauthConfig.publicUrls = values.oauthConfig.publicUrls.split(','); + } + this.storageService.setItem(AppConfigValues.OAUTHCONFIG, JSON.stringify(values.oauthConfig)); this.storageService.setItem(AppConfigValues.IDENTITY_HOST, values.identityHost); }