mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
auth: enhance OIDC client with TLS and proxy configuration options (#4990)
This commit is contained in:
parent
7cfa546b55
commit
abf4942e8a
6 changed files with 108 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue