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

proxy_set_header Authorization does not work for opensearch dashboard. #1

Open
vaibhavops opened this issue Nov 7, 2024 · 0 comments

Comments

@vaibhavops
Copy link

vaibhavops commented Nov 7, 2024

Previously we used to use self managed elesticsearch cluster with kibana in an k8s cluster.
During that time we use to by bypass kibana login by passing the login credentials in nginx proxy_set_header conf but seems like the same is not possible or i am not able to do it in opensearch dashboard.

Could you please help here??

is there any way i can bypass the login screen using the same technique.

 location / {
        proxy_pass https://endpoint-url;
        proxy_set_header Authorization "Basic base64usernameandpassword==";
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_redirect off;
    }

}

Expected Behaviour: No login screen should appear.

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

No branches or pull requests

1 participant