Skip to content
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

Enable Authentication for Elasticsearch #1061

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nihxdr
Copy link

@nihxdr nihxdr commented May 8, 2024

This pull request introduces user authentication for Elasticsearch, enhancing our Open edX instance's connectivity with external Elasticsearch services that require authentication.

@DawoudSheraz
Copy link
Contributor

@nihxdr Hi. Can you add more context for this change? How will it effect the existing installations?

@@ -39,6 +39,9 @@
{% if ELASTICSEARCH_SCHEME == "https" %}"use_ssl": True,{% endif %}
"host": "{{ ELASTICSEARCH_HOST }}",
"port": {{ ELASTICSEARCH_PORT }},
{% if ELASTICSEARCH_USER != '' and ELASTICSEARCH_PASSWORD != '' %}
"http_auth": ("{{ ELASTICSEARCH_USER}}", "{{ ELASTICSEARCH_PASSWORD }}"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we start supporting http auth in Elasticsearch, then we will have also to update all tutor plugins that connect to Elasticsearch (including forum). This is going to be non-trivial.

@DawoudSheraz
Copy link
Contributor

With Elasticsearch going to replace with meilisearch in Sumac #1141, I don't think this is needed anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants