+
+
+ {authConfigOptions.map(config => (
+
+
+ {
+
+ }
+ {config.label}
+
+
+ ))}
+
+
+ {Object.entries(authConfigForm).map(([key, value]) => {
+ const valueObject = _.isObject(value) ? (value as ItemType) : false;
+ const required = true;
+ const label = valueObject ? valueObject.label : value;
+ const tip = valueObject && valueObject.tip;
+ const isPassword = valueObject && valueObject.isPassword;
+ return (
+
+
+ {label}:
+
+
+ ) : (
+
+ {label}:
+
+ )
+ }
+ >
+ {isPassword ? (
+
+ ) : (
+
+ )}
+
+
+ );
+ })}
+ {/*
+
+
+
+ {"Client secret"}:
+
+
+ }
+ rules={[{
+ required: true,
+ message: trans("idSource.formPlaceholder", {
+ label: 'Client secret',
+ })
+ }]}
+ >
+
+ */}
+
+