Files
traefik-llmgateway/tools
lukaszraczyloandGitHub df1ca8cde2 feat(auth): add opt-in anonymous access with users.anonymousGroup (#15)
Set users.anonymousGroup to a configured group to serve requests that
carry no credential as the reserved user "anonymous" in that group. The
group grant applies, and the group memberLimits are the per-user limits
that all keyless callers share.

A request that sends an Authorization or x-api-key header must carry a
valid key, so a wrong or malformed credential still gets 401. The admin
API and the metrics key fallback use identifyKeyed and never admit the
anonymous user. The name "anonymous" is reserved while the option is
set. The option is empty by default, and then every route needs a key as
before.

The .traefik.yml testData now enables anonymous access, and yaegi-check
exercises it under the interpreter.
2026-11-26 23:54:17 +00:00
..