(ns metabase-enterprise.sso.api.routes (:require [compojure.core :as compojure] [metabase-enterprise.sso.api.saml :as saml] [metabase-enterprise.sso.api.sso :as sso])) | |
Ring routes for auth (SAML) API endpoints. This needs to be injected into [[metabase.server.routes/routes]] -- not [[metabase.api.routes/routes]] !!! TODO -- should we make a TODO -- we need to feature-flag this based on the | (compojure/defroutes ^{:doc , :arglists '([request] [request respond raise])} routes (compojure/context "/auth" [] (compojure/routes (compojure/context "/sso" [] sso/routes))) (compojure/context "/api" [] (compojure/routes (compojure/context "/saml" [] saml/routes)))) |