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

Default time column selectors do not work with BasicAuth #624

Closed
oplehto opened this issue Sep 12, 2024 · 0 comments · Fixed by #633
Closed

Default time column selectors do not work with BasicAuth #624

oplehto opened this issue Sep 12, 2024 · 0 comments · Fixed by #633
Assignees
Milestone

Comments

@oplehto
Copy link

oplehto commented Sep 12, 2024

With BasicAuth enabled the lookup of valid time column values fails:

Code: 516. DB::Exception: Invalid authentication: 'true' HTTP Authorization scheme is not supported. (AUTHENTICATION_FAILED) (version 23.8.6.16 (official build))

The culprit seems to be this bit:

if (options.basicAuth) {
requestOptions.headers.Authorization = options.basicAuth;
}

Which sets the auth header:

x-ds-authorization: true

At least with Server mode it works just by removing that part of code. Not sure if that's a working solution for proxy mode though..

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

Successfully merging a pull request may close this issue.

3 participants