Skip to content

Commit 44ca906

Browse files
committed
Merge remote-tracking branch 'origin/authzquerier_layer' into authzquerier_layer
2 parents 53f7a5d + 2107b74 commit 44ca906

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

enterprise/coderd/coderd.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,11 @@ func New(ctx context.Context, options *Options) (*API, error) {
142142

143143
if len(options.SCIMAPIKey) != 0 {
144144
api.AGPL.RootHandler.Route("/scim/v2", func(r chi.Router) {
145-
r.Use(api.scimEnabledMW)
145+
r.Use(
146+
api.scimEnabledMW,
147+
// TODO: Make a scim auth role.
148+
httpmw.SystemAuthCtx,
149+
)
146150
r.Post("/Users", api.scimPostUser)
147151
r.Route("/Users", func(r chi.Router) {
148152
r.Get("/", api.scimGetUsers)

0 commit comments

Comments
 (0)