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

allow setting different tenantIds than the basic auth username #57

Closed
wants to merge 2 commits into from
Closed

allow setting different tenantIds than the basic auth username #57

wants to merge 2 commits into from

Conversation

marzocchi
Copy link

@marzocchi marzocchi commented Feb 23, 2023

This allows using the extension against a loki that's behind HTTP auth, but tenant IDs don't match 1:1 to basic auth username (such as the setup I'm working on, which uses tenants for book-keeping but not for authentication). Multitenant queries are also now supported.

I kept the code that defaults to the basic auth user name as tenant ID, but maybe that could be also dropped?

@CLAassistant
Copy link

CLAassistant commented Feb 23, 2023

CLA assistant check
All committers have signed the CLA.

@marzocchi marzocchi changed the title allow setting a different tenantId than the basic auth username allow setting different tenantIds than the basic auth username Feb 23, 2023
@marzocchi marzocchi closed this by deleting the head repository Sep 20, 2023
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 this pull request may close these issues.

None yet

2 participants