mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-22 19:19:18 -05:00
Do not start auth-bearer service by default
The auth-bearer service is currently not needed by ocis. Reva tookens for oidc authenticated clients are currently minted via the auth-machine service. This commit does not completely remove the service as we shoud consider to rework the proxy's oidc middleware to use the auth-bearer service in the future (see #4701) Fixes: #4692
This commit is contained in:
@@ -23,7 +23,6 @@ import (
|
||||
appProvider "github.com/owncloud/ocis/v2/services/app-provider/pkg/command"
|
||||
appRegistry "github.com/owncloud/ocis/v2/services/app-registry/pkg/command"
|
||||
authbasic "github.com/owncloud/ocis/v2/services/auth-basic/pkg/command"
|
||||
authbearer "github.com/owncloud/ocis/v2/services/auth-bearer/pkg/command"
|
||||
authmachine "github.com/owncloud/ocis/v2/services/auth-machine/pkg/command"
|
||||
frontend "github.com/owncloud/ocis/v2/services/frontend/pkg/command"
|
||||
gateway "github.com/owncloud/ocis/v2/services/gateway/pkg/command"
|
||||
@@ -121,7 +120,6 @@ func NewService(options ...Option) (*Service, error) {
|
||||
s.ServicesRegistry[opts.Config.Users.Service.Name] = users.NewSutureService
|
||||
s.ServicesRegistry[opts.Config.Groups.Service.Name] = groups.NewSutureService
|
||||
s.ServicesRegistry[opts.Config.AuthBasic.Service.Name] = authbasic.NewSutureService
|
||||
s.ServicesRegistry[opts.Config.AuthBearer.Service.Name] = authbearer.NewSutureService
|
||||
s.ServicesRegistry[opts.Config.AuthMachine.Service.Name] = authmachine.NewSutureService
|
||||
s.ServicesRegistry[opts.Config.StorageUsers.Service.Name] = storageusers.NewSutureService
|
||||
s.ServicesRegistry[opts.Config.StorageShares.Service.Name] = storageshares.NewSutureService
|
||||
|
||||
Reference in New Issue
Block a user