{"id":13581910,"url":"https://github.com/jpbede/loki-auth-proxy","last_synced_at":"2026-02-26T06:37:18.955Z","repository":{"id":41900696,"uuid":"353775536","full_name":"jpbede/loki-auth-proxy","owner":"jpbede","description":"Stateless Grafana Loki multi tenant authentication proxy ","archived":false,"fork":false,"pushed_at":"2023-02-15T02:33:51.000Z","size":126,"stargazers_count":12,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T19:52:55.190Z","etag":null,"topics":["go","golang","grafana","grafana-loki","loki"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpbede.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["jpbede"]}},"created_at":"2021-04-01T17:24:17.000Z","updated_at":"2024-07-10T21:22:06.000Z","dependencies_parsed_at":"2024-06-19T17:54:37.932Z","dependency_job_id":null,"html_url":"https://github.com/jpbede/loki-auth-proxy","commit_stats":{"total_commits":64,"total_committers":4,"mean_commits":16.0,"dds":0.078125,"last_synced_commit":"5e129eb8800b767439f7cfc9af5851715a536d5c"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jpbede/loki-auth-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbede%2Floki-auth-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbede%2Floki-auth-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbede%2Floki-auth-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbede%2Floki-auth-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpbede","download_url":"https://codeload.github.com/jpbede/loki-auth-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbede%2Floki-auth-proxy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261649854,"owners_count":23189753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","grafana","grafana-loki","loki"],"created_at":"2024-08-01T15:02:18.850Z","updated_at":"2026-02-26T06:37:13.936Z","avatar_url":"https://github.com/jpbede.png","language":"Go","funding_links":["https://github.com/sponsors/jpbede"],"categories":["Go"],"sub_categories":[],"readme":"# Grafana Loki - Stateless multi tenant authentication proxy\n[![PkgGoDev](https://pkg.go.dev/badge/go.bnck.me/loki-auth-proxy)](https://pkg.go.dev/go.bnck.me/loki-auth-proxy)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/a7da697dfae94a39bb74394ccf472df7)](https://www.codacy.com/gh/jpbede/loki-auth-proxy/dashboard)\n[![codecov](https://codecov.io/gh/jpbede/loki-auth-proxy/branch/main/graph/badge.svg?token=g6JohOjiZm)](https://codecov.io/gh/jpbede/loki-auth-proxy)\n\nStateless multi tenant authentication proxy, that handles authentication and setting `X-Scope-OrgID` for Grafana Loki.\n\n**Please be nice to me, the project is work in progress :)**\n\n## Requirements\nTo use this, Grafana Loki needs to be configured in multi tenant mode with `auth_enabled: true` as described in the [official docs](https://grafana.com/docs/loki/latest/operations/multi-tenancy/).\n\n## Installing\n\n### Binaries\nYou will find pre-compiled binaries and packages for the most common OS under the [releases](https://github.com/jpbede/loki-auth-proxy/releases).\n\n### Docker\n```shell\ndocker run -v $(pwd)/loki-auth-proxy.yml:/etc/loki-auth-proxy.yml -v $(pwd)/loki-auth.yml:/etc/loki-auth.yml -p 8081:8081 ghcr.io/jpbede/loki-auth-proxy:latest\n```\n\nor via `docker-compose.yml`\n\n```yaml\nversion: \"3\"\nservices:\n  auth-proxy:\n    image: ghcr.io/jpbede/loki-auth-proxy:latest\n    ports:\n      - 8081:8081\n    volumes:\n      - \"/etc/loki-auth-proxy.yml:/etc/loki-auth-proxy.yaml\"\n      - \"/etc/loki-auth.yml:/etc/loki-auth.yml\"\n```\n\n### macOS\nSimply use `homebrew` (https://brew.sh/)\n\nTo install `loki-auth-proxy` use following command `brew install jpbede/tap/loki-auth-proxy`\n\n## Using it\nAn example configuration you can find at [example/loki-auth-proxy.yaml](example/loki-auth-proxy.yaml).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpbede%2Floki-auth-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpbede%2Floki-auth-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpbede%2Floki-auth-proxy/lists"}