Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
MacOS 13.2.1 ARMx64 / Google Chrome Version 110.0.5481.177 (Official Build) (arm64)
Describe the issue:
Could not authorize into dashboard when opensearch-security disabled, that is in http mode.
This is uncomfortable while testing some issues and want to see in the dashboard changes which caused by tests. I think http mode is enough for testing purposes.
Configuration:
docker-compose.yml
version: โ3โ
services:
opensearch:
build:
context: .
dockerfile: Dockerfile.opensearch
args:
- SECURE_INTEGRATION=${SECURE_INTEGRATION:-false}
- OPENSEARCH_VERSION=${OPENSEARCH_VERSION:-latest}
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- path.repo=/usr/share/opensearch/mnt
ports:
- โ9200:9200โ
user: opensearch
Dockerfile
ARG OPENSEARCH_VERSION
FROM opensearchproject/opensearch:${OPENSEARCH_VERSION}
ARG opensearch_path=/usr/share/opensearch
ARG SECURE_INTEGRATION
RUN if [ โ$SECURE_INTEGRATIONโ != โtrueโ ] ; then $opensearch_path/bin/opensearch-plugin remove opensearch-security; fi