# Is it possible to configure SAML authentication in kibana 7.17 version without changing the elasticsearch.yml

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-configure-saml-authentication-in-kibana-7-17-version-without-changing-the-elasticsearch-yml/325727>\
**Category:** Kibana\
**Created:** [February 16, 2023, 11:42am UTC](https://discuss.elastic.co/t/is-it-possible-to-configure-saml-authentication-in-kibana-7-17-version-without-changing-the-elasticsearch-yml/325727 "2023-02-16T11:42:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vlada\_Homyakova](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vlada_homyakova/32/117308_2.png) [@Vlada\_Homyakova](https://discuss.elastic.co/u/Vlada_Homyakova)\
**Post date:** [February 16, 2023, 11:42am UTC](https://discuss.elastic.co/t/is-it-possible-to-configure-saml-authentication-in-kibana-7-17-version-without-changing-the-elasticsearch-yml/325727/1 "2023-02-16T11:42:17Z")

</div>

Hi I'm trying to integrate kibana with okta saml, I try to get constantly  
`FATAL Error: [config validation of [xpack.security].authc.realm]: Epexted a String but got an object`

xpack.security.authc.providers:

```auto
  - saml

xpack.security.authc.saml.realm: "my-saml-realm"

xpack.security.authc.saml.realm.idp.metadata.path: "https://idp.example.com/metadata"
xpack.security.authc.saml.realm.idp.entity_id: "https://idp.example.com/entity-id"
xpack.security.authc.saml.realm.sp.entity_id: "https://kibana.example.com"
xpack.security.authc.saml.realm.sp.acs: "https://kibana.example.com/api/security/v1/saml"

```

Is it possible configure only kibana without touching the elasticsearch configuration ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 19, 2023, 8:57pm UTC](https://discuss.elastic.co/t/is-it-possible-to-configure-saml-authentication-in-kibana-7-17-version-without-changing-the-elasticsearch-yml/325727/2 "2023-02-19T20:57:06Z")

</div>

Welcome to our community! 😃

No it's not sorry.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 19, 2023, 8:57pm UTC](https://discuss.elastic.co/t/is-it-possible-to-configure-saml-authentication-in-kibana-7-17-version-without-changing-the-elasticsearch-yml/325727/3 "2023-03-19T20:57:15Z")

</div>

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