mirage icon indicating copy to clipboard operation
mirage copied to clipboard

Mirage is Injecting the appbase Bearer Authorization token into non-appbase Elasticsearch cluster requests

Open mschnee opened this issue 6 years ago • 1 comments

This is the cause of #16

Reproduction steps:

  • Install mirage as an extension or run it locally.
  • Provide an AWS-hosted ElasticSearch cluster URL and index.
  • Note in the web inspector of your choice that the request to ${host}/${index}/_mapping includes an Authorization header, which causes the request to fail.
  • This Authorization header should not be sent.

mschnee avatar Dec 05 '18 21:12 mschnee

@mschnee Thanks for pointing this out. I have an idea on what's causing this. @metagrover @lakhansamani Is it possible to upgrade Mirage to use the latest appbase-js lib?

siddharthlatest avatar Dec 05 '18 21:12 siddharthlatest