We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5246f8d commit edc99efCopy full SHA for edc99ef
enterprise/coderd/provisionerkeys.go
@@ -147,9 +147,11 @@ func (api *API) provisionerKeyDaemons(rw http.ResponseWriter, r *http.Request) {
147
148
pkDaemons := []codersdk.ProvisionerKeyDaemons{}
149
for _, key := range sdkKeys {
150
- // currently we exclude user-auth from this list
+ // Currently the user-auth key orgID is hardcoded to the default org.
151
+ // This will be changed when we update the `user-auth` keys to be
152
+ // directly tied to a user ID.
153
if key.ID.String() == codersdk.ProvisionerKeyIDUserAuth {
- continue
154
+ key.OrganizationID = organization.ID
155
}
156
daemons := []codersdk.ProvisionerDaemon{}
157
for _, daemon := range recentDaemons {
0 commit comments