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

logcli: add support for bearer token authentication #3749

Merged
merged 1 commit into from
Jun 9, 2021
Merged

logcli: add support for bearer token authentication #3749

merged 1 commit into from
Jun 9, 2021

Conversation

dbluxo
Copy link
Contributor

@dbluxo dbluxo commented May 19, 2021

What this PR does / why we need it:
Add support for basic token authentication in cases where the loki-queriers/frontends are exposed through a reverse proxy doing token/bearer authentication.

Based on already closed PR: #2889 Thanks @gcotone

Which issue(s) this PR fixes:
Fixes #395 (Partially - it does not implement oauth2)

Special notes for your reviewer:

Checklist

  • Documentation added

@dbluxo
Copy link
Contributor Author

dbluxo commented May 27, 2021

What else needs to be done here to get the PR approved?

Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@copolycube
Copy link

copolycube commented Dec 21, 2022

Hello,
Does the fact that it works for logcli implies that it works for/from promtail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support SSO for Loki Log CLI
4 participants