-
Notifications
You must be signed in to change notification settings - Fork 807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] FATAL ValidationError: child "plugins" fails because ["security" is not allowed] #686
Comments
Hello @sooslaca , Sorry about the delay but thanks for bringing this up! This is more so a problem with the documentation. Unfortunately there are gaps in the documentation and apparently errors. The configuration should be: All the settings in there should be modified with the config path of "opensearch_security" I will close this issue and I have created an issue in the documentation repo here: opensearch-project/documentation-website#125 Please re-open if changing it to Thanks again! |
@sooslaca @kavilla if you have a working set of configuration files for this, I'd appreciate seeing them. We struggled with this exact problem today and even switching it to We've been running a slightly modified version of https://github.com/opensearch-project/opensearch-build/blob/main/release/docker/dockercomposefiles/docker-compose.yml with just a single node, and an external (corporate) Keycloak. Relevant config files --
When we visit the dashboard UI, it just says Thanks for your time and help. |
@kafonek, sorry about your struggles! I see there are a few open issues in the security plugin related to open id: https://github.com/opensearch-project/security-dashboards-plugin/issues?q=is%3Aissue+is%3Aopen+openid. I see a closed issue that is similar to what you are seeing to which was solved with: opensearch-project/security-dashboards-plugin#672 (comment). As the original issue was related to the security plugin and your follow-up issue is seeing errors due to it as well. Would you be able to open an issue in the security plugin repo [here]. I would still open a new issue if there is any confusion related to getting the configuration of the plugin correct even if you scanned the closed issues and resolved it that way. Let me know if you would like me to create it for you to help reduce your struggles. |
yep opensearch-project/security-dashboards-plugin#806 opened, thanks so much @kavilla |
hi @kafonek Did you find any solution ? i have a same problem with same config? |
Describe the bug
Cannot configure OIDC auth for opensearch_dashboard as written at https://opensearch.org/docs/security-plugin/configuration/openid-connect/
Each line starts with
plugins.security
throwing error:To Reproduce
Install opensearch, install opensearch-dashboards.
Enable
openid_auth_domain
in opensearch, reload config withsecurityadmin.sh
configure opensearch-dashboards to use, eg
Expected behavior
OIDC auth to work
OpenSearch Version
docker opensearchproject/opensearch:1.0.0
Dashboards Version
docker opensearchproject/opensearch-dashboards:1.0.0
Plugins
Screenshots
NA
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: