ValidationError: child "xpack" fails because [child "security" fails because ["authc" is not allowed]]

I am trying to add SAML authentication by referring the following doc.
https://www.elastic.co/guide/en/kibana/current/kibana-authentication.html#saml
I added the configs to the kibana.yml and start kibana server. Then it prompts an error like this.
ValidationError: child "xpack" fails because [child "security" fails because ["authc" is not allowed]]
I have the trial licence and I am using the elastic stack 7.0.1. Could anyone can point me to a solution for this?

Hi,

You are using the instructions for the current version (7.7) and try to apply them on a rather old and unsupported version. Why don't you download 7.7 and start over ? :slight_smile:

Hi,

Sorry about that mistake. By the way this is the 7.x document. https://www.elastic.co/guide/en/kibana/7.x/kibana-authentication.html#saml.
As far as I can see there is no any differences in both these docs. Please correct me if I am wrong.
Thanks.

7.x doesn't mean "any minor version in 7" but "the current (unreleased) minor in 7".

xpack.security.authc.

was not available in 7.0.x and this is why you get an error.

Please follow my suggestion above

Hi @ikakavas

Thank you very much for your quick response.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.