Add SCIM handler draft

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-01-05 10:03:55 +01:00
parent 9eedf7aa1e
commit 31f79fccce
12 changed files with 1634 additions and 6 deletions

View File

@@ -112,7 +112,7 @@ func NewServer(cfg Config) (*Server, error) {
}
func (s *Server) setupRoutes() {
s.router.Mount("/api", s.apiServer)
s.router.Mount("/api", http.StripPrefix("/api", s.apiServer))
s.router.Route("/trust/{slugOrId}", func(r chi.Router) {
r.Use(s.loadTrustCenterBySlugOrID)