feat(auth): per-org OIDC resolver replaces global provider

This commit is contained in:
2026-07-21 16:41:50 +01:00
parent ff22340561
commit d0ed9885e7
6 changed files with 160 additions and 76 deletions
-4
View File
@@ -53,10 +53,6 @@ func main() {
}
log.Println("connected to Redis")
if err := auth.InitOIDC(context.Background()); err != nil {
log.Fatalf("failed to initialise OIDC: %v", err)
}
// Background goroutine to mark offline servers
go func() {
ticker := time.NewTicker(2 * time.Minute)