mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-24 23:29:18 -04:00
provide token configuration from config
This commit is contained in:
2 files changed
+2
No files matched your search
@@ -296,6 +296,7 @@ func loadMiddlewares(ctx context.Context, l log.Logger, cfg *config.Config) alic
|
||||
middleware.Logger(l),
|
||||
middleware.RevaGatewayClient(sc),
|
||||
middleware.AccountsClient(accounts),
|
||||
middleware.TokenManagerConfig(cfg.TokenManager),
|
||||
)
|
||||
|
||||
return alice.New(middleware.RedirectToHTTPS, oidcMW, uuidMW, chMW)
|
||||
|
||||
Reference in new issue
Block a user