Hi I am having issues getting a non reserved basic user to work with SAML SSO enabled. I have created a logstash_internal user for logstash to use in output.
I am not able to authenticate with this user, or any other i create with superuser role, (for testing of course)
However if i set the user to be elastic , logstash works with no issues.
Further testing I then realise i can not log on either to Kibana using a created basic user, but i can if i use the reserved elastic user
SSO is working as expected i can redirect to Azure and back to kibana once authenticated.
Is this expected behaviour?
Identity provider is Azure AAD SSO
Can you please show us the configuration ? My guess is that you enabled the SAML realm in elasticsearch without explicitly also enabling the native realm, which disables the native realm and means that users can login only via SAML.
The native realm is available by default when no other realms are configured. If other realm settings have been configured in elasticsearch.yml , you must add the native realm to the realm chain.
The elastic user is a built-in user and as such not affected by the native realm being disabled.
In summary, you need to explicitly enable the native realm in elasticsearch's configuration, details are in the link to the documentation I shared above.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.