chore: disable OAuth routes until provider apps are configured

This commit is contained in:
2026-02-27 14:54:22 +01:00
parent 841a69c59a
commit f839f32ddc

View File

@@ -28,9 +28,9 @@ func (s *Server) registerRoutes() {
requireAuth := middleware.RequireAuth(tokenSvc)
auth.RegisterRoutes(v1, authHandler, requireAuth)
// OAuth routes
oauthHandler := auth.NewOAuthHandler(s.cfg.OAuth, authSvc, userRepo, authRepo)
auth.RegisterOAuthRoutes(v1, oauthHandler)
// OAuth routes — disabled until provider apps are configured
// oauthHandler := auth.NewOAuthHandler(s.cfg.OAuth, authSvc, userRepo, authRepo)
// auth.RegisterOAuthRoutes(v1, oauthHandler)
// Shared email sender
emailSender := email.New(