Turn of "insecure" of built-in IDP
Setup idp to verify the LDAP server certificate. As this certificate might be generated on startup, this also moved the IDP to the "delayed" set of services. So it starts after "idm".
This commit is contained in:
@@ -112,7 +112,6 @@ func NewService(options ...Option) (*Service, error) {
|
||||
s.ServicesRegistry["glauth"] = glauth.NewSutureService
|
||||
s.ServicesRegistry["graph"] = graph.NewSutureService
|
||||
s.ServicesRegistry["graph-explorer"] = graphExplorer.NewSutureService
|
||||
s.ServicesRegistry["idp"] = idp.NewSutureService
|
||||
s.ServicesRegistry["idm"] = idm.NewSutureService
|
||||
s.ServicesRegistry["ocs"] = ocs.NewSutureService
|
||||
s.ServicesRegistry["store"] = store.NewSutureService
|
||||
@@ -137,6 +136,7 @@ func NewService(options ...Option) (*Service, error) {
|
||||
s.Delayed["accounts"] = accounts.NewSutureService
|
||||
s.Delayed["proxy"] = proxy.NewSutureService
|
||||
s.Delayed["ocdav"] = ocdav.NewOCDav
|
||||
s.Delayed["idp"] = idp.NewSutureService
|
||||
|
||||
return s, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user