4 Commits

Author SHA1 Message Date
LovroG05
72101f92fb chore: migrate to Go 1.27 2026-08-29 18:32:26 +02:00
LovroG05
9d807a6cf1 feat: OIDC server-side login flow with confidential client
Add /auth/login and /auth/callback handlers. The backend holds the
client secret and exchanges the authorization code server-side;
the browser never sees the secret. Redirect URI and post-login
fragment destination are derived solely from GATEWAY_SERVER_PUBLIC_URL
(required when OIDC is set) to prevent host-header injection.
2026-06-28 23:46:30 +02:00
LovroG05
4d78d5773d feat: wire server entrypoint; add go-oidc/v3 and uuid dependencies
main.go connects all packages: config → pool → migrate → cipher → store
→ providermgr → catalog → optional OIDC → rate limiter → API server.
WriteTimeout is zero to support SSE streaming; no middleware.Timeout.
Config validation now allows OIDC to be optional (static-token fallback).
2026-06-28 23:15:15 +02:00
LovroG05
7e7ab5a7e2 init 2026-06-27 16:46:12 +02:00