aws-es-proxy icon indicating copy to clipboard operation
aws-es-proxy copied to clipboard

Missing osd-version, osd-xsrf passthrough in headers

Open kgston opened this issue 4 years ago • 10 comments

Similar to #70, Opensearch requires the same similar headers to be passthrough

kgston avatar Mar 15 '22 14:03 kgston

Thank you a lot @kgston for sharing the patch, it worked perfectly again after I migrate my domain to OpenSearch :)

polak785 avatar Mar 31 '22 09:03 polak785

Thanks @kgston Worked just fine opening OpenSearch Kibana interface

fpSpindola avatar May 20 '22 04:05 fpSpindola

Thanks @kgston this worked fine for me in OpenSearch as well. Any chance this could get merged soon?

agaluscondev avatar Jun 24 '22 14:06 agaluscondev

Any updates on this? Seems PR is still open

Alien2150 avatar Aug 19 '22 07:08 Alien2150

The project owner seems to have abandoned the project 🤷‍♂️

kgston avatar Aug 19 '22 07:08 kgston

So seems Amazon Cognito is the way to go @kgston ? :)

Alien2150 avatar Aug 19 '22 10:08 Alien2150

I'm not familar with cognito, but I wonder if you can use that without some kind of proxy?

kgston avatar Aug 19 '22 14:08 kgston

Yes it's "O-Auth" on AWS

Alien2150 avatar Aug 19 '22 15:08 Alien2150

@kgston Also checkout these links:

  • https://aws.amazon.com/premiumsupport/knowledge-center/opensearch-outside-vpc-nginx/
  • https://docs.aws.amazon.com/opensearch-service/latest/developerguide/dashboards.html

Alien2150 avatar Aug 22 '22 12:08 Alien2150

Yea, seems like Cognito will provide you a sign in page from which you can then grant access to the dashboard. I've never used it before, but it seems like a valid alternative solution to this proxy.

As for the nginx proxy, it seems like you need to spin up a separate EC2 instance which then adds additional costs.

kgston avatar Aug 22 '22 12:08 kgston