message: Wrap `SamlKeysDialog` in `FormProvider`
diff: @@ -153,6 +153,7 @@ export const SamlKeysDialog = ({
  </Button>,
  ]}
  >
  + <FormProvider {...form}>
  <Form isHorizontal>
  <FormGroup
  label={t("selectMethod")}
  @@ -210,11 +211,8 @@ export const SamlKeysDialog = ({
  </FormGroup>
  </Form>
  )}
  - {type && (
  - <FormProvider {...form}>
  - <KeyForm useFile />
  + {type && <KeyForm useFile />}
  </FormProvider>
  - )}
  </Modal>
  );
  };
  