OSuser
1
Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): 3.6.0
Describe the issue: I get the error No ‘Authorization’ header, send 401 and ‘WWW-Authenticate Basic’ when I make a POST request. How can I fix this?
Configuration: Authentication Basic: <base64_username_and_password> configured.
Relevant Logs or Screenshots:
What do I need to configure docker OpenSearch to be able to use Authentication Basic?
@OSuser Can you provide your opensearch_dashboards.yml file? You should have the following configuration in there:
opensearch.requestHeadersAllowlist: [ authorization,securitytenant ]
If this is already the case, can you provide the post request you are using, please redact any sensitive details.
I was able to fix it myself. The problem was that I wrote some messed up code. Ha, ha. Everything seems to be working now. Thanks.