Files
LocalAI/core/http/auth
Ettore Di Giacinto 0ff078d433 feat(auth): plumb auth_source and auth_apikey through Echo context
tryAuthenticate now sets auth_source on every successful branch
(web for session/Bearer-session, apikey for Bearer-key/x-api-key/
token-cookie, legacy for legacy env key match). For named-key
branches it also stores the resolved *UserAPIKey under auth_apikey
so downstream middlewares can snapshot id+name without re-validating.

Refs: #9862
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-05-20 22:42:54 +00:00
..
2026-03-30 00:47:27 +02:00
2026-05-08 16:25:45 +02:00
2026-05-08 16:25:45 +02:00
2026-03-30 00:47:27 +02:00
2026-03-30 00:47:27 +02:00