initial work on OIDC (SSO) integration
This commit is contained in:
parent
83815f567d
commit
e7a2501fe8
6 changed files with 347 additions and 4 deletions
|
@ -170,6 +170,10 @@ func getHeadscaleApp() (*headscale.Headscale, error) {
|
|||
TLSKeyPath: absPath(viper.GetString("tls_key_path")),
|
||||
|
||||
DNSConfig: GetDNSConfig(),
|
||||
|
||||
OIDCEndpoint: viper.GetString("oidc_endpoint"),
|
||||
OIDCClientID: viper.GetString("oidc_client_id"),
|
||||
OIDCClientSecret: viper.GetString("oidc_client_secret"),
|
||||
}
|
||||
|
||||
h, err := headscale.NewHeadscale(cfg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue