auth: enhance OIDC client with TLS and proxy configuration options (#4990)

This commit is contained in:
fatedier
2025-09-25 10:19:19 +08:00
committed by GitHub
parent 7cfa546b55
commit abf4942e8a
6 changed files with 108 additions and 8 deletions

View File

@@ -149,9 +149,15 @@ func NewService(options ServiceOptions) (*Service, error) {
}
webServer = ws
}
authSetter, err := auth.NewAuthSetter(options.Common.Auth)
if err != nil {
return nil, err
}
s := &Service{
ctx: context.Background(),
authSetter: auth.NewAuthSetter(options.Common.Auth),
authSetter: authSetter,
webServer: webServer,
common: options.Common,
configFilePath: options.ConfigFilePath,