chore: add scim service provider config endpoint (#15235)

Adds a static `/scim/v2/ServiceProviderConfig` endpoint. Our scim
support is static, so the response config is also defined statically.
This commit is contained in:
Steven Masley
2024-10-25 18:27:34 -04:00
committed by GitHub
parent 27f5ff2dd1
commit e03ef62a13
7 changed files with 167 additions and 1 deletions
+1
View File
@@ -457,6 +457,7 @@ func New(ctx context.Context, options *Options) (_ *API, err error) {
r.Use(
api.RequireFeatureMW(codersdk.FeatureSCIM),
)
r.Get("/ServiceProviderConfig", api.scimServiceProviderConfig)
r.Post("/Users", api.scimPostUser)
r.Route("/Users", func(r chi.Router) {
r.Get("/", api.scimGetUsers)