Skip to content

Commit

Permalink
Add missing IDP manager check for jumpcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon committed Oct 3, 2023
1 parent 39acc49 commit fb368ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion management/server/idp/idp.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ func NewManager(config Config, appMetrics telemetry.AppMetrics) (Manager, error)
CustomerID: config.ExtraConfig["CustomerId"],
}
return NewGoogleWorkspaceManager(googleClientConfig, appMetrics)

case "jumpcloud":
jumpcloudConfig := JumpCloudClientConfig{
APIToken: config.ExtraConfig["ApiToken"],
}
return NewJumpCloudManager(jumpcloudConfig, appMetrics)
default:
return nil, fmt.Errorf("invalid manager type: %s", config.ManagerType)
}
Expand Down

0 comments on commit fb368ae

Please sign in to comment.