opensearch-project / opensearch-js

Node.js Client for OpenSearch
https://opensearch.org/docs/latest/clients/javascript/
Apache License 2.0
185 stars 120 forks source link

[FEATURE] add bearer auth #863

Open tim-brand opened 2 weeks ago

tim-brand commented 2 weeks ago

Is your feature request related to a problem?

Some time ago, the support for Bearer-auth has been removed (see #111). At that moment there was no support.

What solution would you like?

I would like to have this reintroduced, since OpenSearch is supporting this now.

What alternatives have you considered?

I'm currently adding the header myself, which works fine, but the original implementation would be nicer.

Do you have any additional context?

No.

dblock commented 1 week ago

@tim-brand We have a 3.0 beta on main now, it would be awesome if you could contribute this to the project!